Skip to content

agents: define the groomer, the implementer and the reviewer - #42

Merged
lneto merged 2 commits into
masterfrom
agent-definitions
Nov 26, 2026
Merged

lneto merged 2 commits into
masterfrom
agent-definitions

Conversation

@lneto

@lneto lneto commented Nov 26, 2026

Copy link
Copy Markdown
Contributor

A groomer, an implementer or a reviewer of implement-issue and review-pr runs as the built-in workflow agent, whose every request defines each tool of the account, about 15k tokens those roles never use. This adds lunatik-groomer, lunatik-implementer and lunatik-reviewer to .agents/agents/, each with a tools: list of what the 546 such agents of the window #6 measured called, Bash, Read, Edit, Write, WebFetch, WebSearch, TaskStop and Monitor, leaving out ToolSearch and Skill as D176 B lists them. None sets omitClaudeMd, so each still loads AGENTS.md, and none names a model or an effort, which the launch gives. The implementer's prompt names the pr-prep skill by its path, since its definition carries no Skill tool.

Nothing runs as them yet: a workflow's agentType resolves against the .claude/agents/ of the checkout the session runs in, which Lunatik and luaebpf link once a bump of their mount carries the three. implement.js and review.js name them in a later pull request, which shows each role's first request before and after. A definition's body replaces Claude Code's system prompt, so each body says the role and defers to the prompt and to AGENTS.md.

Whether a deferred tool such as WebFetch or TaskStop can be named in tools: is read in the documentation and not settled by it. The subagents page (https://code.claude.com/docs/en/sub-agents) resolves a tools entry against the subagent's pool, and lists WebFetch, WebSearch, Monitor and TaskStop among the tools a background subagent keeps; the MCP page (https://code.claude.com/docs/en/mcp) documents deferral for MCP tools, which load upfront when ToolSearch is left out of --tools. Neither says what a built-in tool deferred in the session becomes in an agent whose tools: leaves ToolSearch out, so that stays unverified until the later pull request's first requests show it.

#6, which it does not close.

lneto and others added 2 commits November 26, 2026 20:33
lunatik-groomer, lunatik-implementer and lunatik-reviewer list the
tools those roles used over the 546 agents of implement-issue and
review-pr in the window #6 measured: Bash, Read,
Edit, Write, WebFetch, WebSearch, TaskStop and Monitor. A workflow
agent of the built-in type carries every tool of the account in each
request, about 15k tokens these roles never used. Skill and ToolSearch
are left out, as D176 B lists the tools.

Each loads CLAUDE.md, and so AGENTS.md, as the built-in agent does: no
omitClaudeMd, since a rule pasted into a prompt is a copy the next
change does not reach. None names a model or an effort, which the
launch gives. A definition's body replaces Claude Code's system prompt,
so each body says the role and defers to the prompt and to AGENTS.md.

No workflow names them yet: an agentType resolves against the
.claude/agents/ of the checkout the session runs in, which each project
links once its mount carries them.

AGENTS.md said that every agent .agents/agents/ defines loads no
CLAUDE.md; it now says so of the host's and GitHub's.

Part of #6 (D176 B), which it does not close.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Its prompt ran "Before opening a pull request" with the pr-prep skill
by name, which an agent reaches through the Skill tool, 30 of 163 in
the window #6 measured. lunatik-implementer lists
no Skill, so the prompt names the file, as review.js already names it
to its reader.

Part of #6 (D176 B), which it does not close.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@lneto lneto added complexity: small One line or one file, with a trivial or existing test workflow-reviewed reviewed end to end by a review workflow labels Nov 26, 2026
@lneto
lneto merged commit ff052cd into master Nov 26, 2026
2 checks passed
lneto added a commit to luainkernel/luaebpf that referenced this pull request Nov 27, 2026
The mount moves to luainkernel/harness@ff052cd, which carries
luainkernel/harness#42, and `.claude/agents/` links its three new
definitions beside the reader's, the host's and GitHub's, so a workflow
launched from this checkout can name them as an `agentType`.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
lneto added a commit to luainkernel/lunatik that referenced this pull request Nov 27, 2026
The mount moves to luainkernel/harness@ff052cd, which carries
luainkernel/harness#42, and `.claude/agents/` links its three new
definitions beside the reader's, the host's and GitHub's, so a workflow
launched from this checkout can name them as an `agentType`.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@lneto
lneto deleted the agent-definitions branch November 27, 2026 00:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

complexity: small One line or one file, with a trivial or existing test workflow-reviewed reviewed end to end by a review workflow

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant