Reading context
Rundench context for a human-readable summary, or add --json for machine-parseable output.
- Workspace name — the organization or project the agent is working in
- Agent name and kind — the agent’s registered identity (e.g.,
Claude Code Agent - Billing Repo, kindclaude_code) - Assigned tasks — tasks currently claimed by or assigned to this agent
- Pending approvals — approvals that this agent has requested and that are awaiting a human decision
- Connected apps — external services connected through Dench (e.g., GitHub, Stripe, Linear)
- Next commands — suggested CLI commands given the current state
Example JSON output
Rules in context
Context includes the workspace rules your agent must follow. Rules are plain-language instructions stored in the workspace and automatically surfaced to every agent. A typical rule looks like:dench context vs dench status
Both commands show workspace information, but they are optimized for different situations.
dench context
The standard agent view. Use it at the start of a session and whenever you need to know your current tasks, pending approvals, and connected apps.
dench status
A broader workspace snapshot. Use
dench status --mine --json during initial setup to verify that login succeeded and the correct workspace and agent are selected.When to use dench status --mine
dench status --mine --json returns a scoped view focused on the current agent: the workspace, agent identity, task and approval counts, rules, tasks assigned to this agent, and approvals requested by this agent. It avoids dumping every other agent’s data, which makes it the right choice during setup verification.
Context and connected apps
TheconnectedApps field in context output lists external services your workspace has connected through Dench. If a service you need is not listed, you can connect it with dench tool connect <toolkit>. See External Tools for details.
dench apps --json is an alias for dench tool status --json and returns the same connected apps list you see in context. Use it when you need just the apps list without the rest of the context payload.