agents

agents is an agent for Claude Code from damianvtran/local-operator. It costs 31 tokens per session (7,673 once invoked), scanned A, original, MIT.

A local system for creating and using AI agent profiles with chosen roles, models, settings, and working folders.

In plain words
What is it for?
Use it to list or create agents, start interactive sessions, send one-off tasks, and delegate work to a suitable profile.
Why use it?
It avoids repeatedly configuring the same specialist and helps you choose between a persistent agent and a one-time task.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: mentions subagents.

Good fit Use it to list or create agents, start interactive sessions, send one-off tasks, and delegate work to a suitable profile.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/damianvtran/local-operator/guide
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/damianvtran/local-operator

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for agents

README.md
[![agentmods](https://agentmods.dev/badge/agents/damianvtran/local-operator/guide/github.svg)](https://agentmods.dev/agents/damianvtran/local-operator/guide)
Your own site
<a href="https://agentmods.dev/agents/damianvtran/local-operator/guide"><img src="https://agentmods.dev/badge/agents/damianvtran/local-operator/guide/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for agents

Your own site · 80×15
<a href="https://agentmods.dev/agents/damianvtran/local-operator/guide"><img src="https://agentmods.dev/badge/agents/damianvtran/local-operator/guide.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 31 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 7,673 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00031 $0.07673
Opus 5.5 $0.00012 $0.03069
Sonnet 5.5 $0.00006 $0.01535
Haiku 4.5 $0.00003 $0.00767

Measured 2d ago against content hash 5c74a6c0931e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

agents scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

local_operator/guides/agents/GUIDE.md · 235 lines

How it starts

The opening of the file, as written. The whole thing — 235 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Agent profiles and subagents

Local Operator has two different mechanisms. Do not treat them as interchangeable.

Persistent registered agents

A registered agent is a durable profile under the Local Operator configuration root. It can carry a provider/model, sampling settings, description, tags, categories, working directory, and persisted state.

List profiles only when a task may benefit from an existing specialist or the user asks about agents:

local-operator agents list
local-operator agents list --page 2 --perpage 10

Do not list the registry at every session start. Local Operator semantically compares the first task with descriptions, tags, and categories locally; when a profile may fit, it exposes this guide as a short hint without injecting the registry contents. The hint is a boolean over metadata: it never names a role, and its index is built at session start, so a role created mid-session is findable with agent list but only reaches the hint in the next session.

Create a profile:

local-operator agents create research

Start an interactive session with it, or send it one headless task:

local-operator --agent research
local-operator exec "Review this evidence and return the supported findings" --agent research

--agent NAME creates a missing profile automatically, but explicit agents create is clearer when setup is intentional. exec --agent-id ID selects an exact existing profile and fails on a missing ID.

A registered profile is not automatically a live peer in the current process. Interact by starting a session or an exec run with that profile. Do not imply that a message was delivered to another live agent unless a tool actually reports delivery.

Ephemeral task subagents

Use the task tool when the current job contains an independent, well-bounded slice that can run concurrently or needs isolated context. A task subagent:

  • inherits the parent model and reasoning effort, working directory, approval gate, and compaction budget. effort picks an operator-configured model TIER, not a reasoning level you choose: the tier names the child's model, and the operator may also give it a reasoning effort (subagents.models.hi: {model: provider/model, effort: xhigh}) that the child then runs at. Who may choose a tier is the OPERATOR's decision, not yours. subagents.model_choice decides that, and its default is operator: no tier is advertised to you and asking for one is refused — omit the field. model="inherit" can still bypass a role pin; exact model="provider/id" needs the model-choice arm. The way back is theirs to take (set subagents.model_choice=model in /settings, or lop config edit subagents.model_choice model); only then may effort name a tier they configured under subagents.models, and the task schema then lists exactly those. (An operator who wants one role on a stronger model does not need to hand you the picker at all: a role's own profile carries its effort pin, and the desktop profile editor writes it.)
  • receives only the prompt passed to task; include every requirement and expected output
  • reports through the parent session's jobs/events — the launch RESULT names the model each child will run on (on <provider/model>, or on this session's model (<provider/model>) when it inherits), and wait/jobs repeat it, so a delegated slice's model never has to be inferred
  • has its model decided when it starts or resumes. A pinned child (an effort tier, or a role's own pin) re-resolves its tier from current config. An inheriting child takes the model of the nearest ancestor that decides one: a parent that is still running gives its current model; a parent that has finished gives its own pin if it had one, and otherwise the choice passes up to ITS parent; your session gives its current model. So a worker of a manager pinned to a cheaper tier resumes on that tier, not on your model, while a worker of an unpinned manager follows your own /model switch. hub op='resume' therefore does NOT bring a child back on the model it ran on before. The resume receipt names the model the same way the launch result does (on its parent's model (<provider/model>) when an ancestor decided it), and adds (its previous run was on <provider/model>) when it changed. If a nested child's lineage can no longer be read (an ancestor's record is gone, or was saved by an older version and shows no pin), it keeps its previous model; if it never recorded one, it runs on your session's model. The receipt says which, e.g. on <provider/model> (its parent's model could not be found; kept its previous model). Switching a parent's model — its own /model, or a switch sent from the phone or lop attach — does not change children already running; move a running one in place with hub op='set_model' (model='inherit' or provider/id, optional effort level, cascade=true for its running subtree) — it applies at the child's next model call, keeps its job id, subagents and tabs, and re-probes a recovered primary. effort is a reasoning level (auto, low…max, clamped to the model) or a lo|med|hi tier, which picks the tier's model as in task (needs subagents.model_choice: model). A tier or model switch survives a resume; a reasoning level does not — the resume re-decides it from the role or tier. A role-pinned child keeps its pin (and is re-probed onto it) unless the top session names it directly — do that only when the operator asks: the pin is theirs (e.g. a reviewer on another vendor for independence). hub list and jobs show the model each child is served by now (pinned X, ran on Y, or on Y (primary X) for an inheriting child that fell back).
  • may itself delegate if and only if its role allows the task tool. A manager keeps task at any depth, so a manager's child is a manager too; a role that does not delegate (a reviewer, a coder, a scout) is never handed it and must do the work itself. A subagent launched with no role inherits its parent's allowance. When a child does delegate, its own children are listed in its page — in the TUI the roster re-scopes to them and you walk back up with p/Esc; the desktop UI walks the same tree with its back control and breadcrumbs.
  • is ephemeral; it does not become a registered profile or keep durable specialist state
  • Check actual owner/job state before handing off. A hub op='send' queue receipt is not running work: completed/paused/failed owners need explicit hub op='resume' on their latest job ID and existing history, with the work message. Never infer execution from delivery or spawn a duplicate actor.

Read the full file on GitHub · 235 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago Changed · +28 lines 5c74a6c0931e
  2. 7d ago Changed 0f8566525d21
  3. 19d ago Changed 40fd6990b30a
  4. 21d ago Changed · +1 lines d4922dcf761d
  5. 24d ago Changed · +4 lines 6fe23656ac48
  6. 26d ago Changed · +1 lines b662d1a25cbf
  7. 27d ago Changed 05dc66ed6657
  8. 1mo ago Changed · +1 lines 9e8225d71fe3
  9. 1mo ago Changed 61bba0fb5936
  10. 1mo ago First seen · 200 lines · 31 tokens per session scan A 39325affe08f

Subscribe to this mod's changes

agents is an agent published in the GitHub repository damianvtran/local-operator (232 stars, last pushed today), licensed MIT. It adds 31 tokens to every session and 7,673 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

agents compared with agents from other repositories

agents next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
agentsdamianvtran/local-operatorAgent232todayMITA31Claude Code
playwright-test-generatormicrosoft/playwrightAgent102ktodayApache-2.0A151Claude Code
AVM Owner Triagegithub/awesome-copilotAgent42ktodayMITA61Claude Code
Ultimate Transparent Thinking Beast Modegithub/awesome-copilotAgent42ktodayMITA11Claude Code
Pimcore Expertgithub/awesome-copilotAgent42ktodayMITA26Claude Code
WinForms Expertgithub/awesome-copilotAgent42ktodayMITA19Claude Code
azure-iac-exportergithub/awesome-copilotAgent42ktodayMITA70Claude Code