सहायक
अनुसंधान, ऑडिट, गुणवत्ता और ऑर्केस्ट्रेशन के लिए स्थायी सहायक एजेंट, फ़्रंटमैटर अनुबंधों और परिनियोजन आइसोलेशन प्रोटोकॉल के साथ।
स्थायी सहायक कैनोनिकल सहायक डायरेक्टरी के अंतर्गत <name>.md प्रत्यय वाली सपाट
फ़ाइलों के रूप में रहते हैं। कैनोनिकल पथ है:
src/apothem/agents/प्रत्येक सहायक एक केंद्रित भूमिका है, जैसे अनुसंधान, ऑडिट, गुणवत्ता, रिफ़ैक्टरिंग, या स्कैफ़ोल्डिंग, जिसके अपने टूल प्रतिबंध और अपना सिस्टम प्रॉम्प्ट होते हैं।
नीचे की तालिका और पथ सूची चार सहायकों को दिखाती हैं। इस पृष्ठ के अंत में जनित इन्वेंट्री हर सहायक परिभाषा को सूचीबद्ध करती है।
| सहायक | फ़ाइल | पैटर्न | मॉडल नीति |
|---|---|---|---|
| Codebase Explorer | नीचे मैनिफ़ेस्ट पथ देखें | अनुसंधान | होस्ट-चयनित |
| Convention Auditor | नीचे मैनिफ़ेस्ट पथ देखें | ऑडिट | होस्ट-चयनित |
| Quality Gate | नीचे मैनिफ़ेस्ट पथ देखें | गुणवत्ता | होस्ट-चयनित |
| Memory Auditor | नीचे मैनिफ़ेस्ट पथ देखें | ऑडिट | होस्ट-चयनित |
कैनोनिकल मैनिफ़ेस्ट पथ:
src/apothem/agents/codebase-explorer.md
src/apothem/agents/convention-auditor.md
src/apothem/agents/quality-gate.md
src/apothem/agents/memory-auditor.mdफ़्रंटमैटर अनुबंध
---
name: <agent name>
version: <semver>
updated: <YYYY-MM-DD>
description: <one-line role>
tools: <comma-separated tool list>
disallowedTools: <comma-separated deny list>
maxTurns: <integer>
---tools वैकल्पिक है। जो सहायक इसे छोड़ देता है वह सत्र के पास मौजूद हर टूल,
कनेक्टेड MCP टूल सहित, इनहेरिट करता है, और disallowedTools उसकी सीमा वहन करता
है। सभी चौदह शिप किए गए सहायक tools सूचीबद्ध करते हैं।
कनेक्टेड MCP सर्वर
जो सहायक tools सूचीबद्ध करता है वह केवल वही कॉल कर सकता है जो वह सूचीबद्ध
करता है। Claude Code किसी MCP टूल को उस सूची में केवल तब स्वीकार करता है जब
प्रविष्टि सर्वर का नाम देती है, जैसे mcp__<server>__*; बिना सर्वर नाम वाला mcp__* केवल
disallowedTools प्रविष्टि के रूप में प्रलेखित है, और कहीं नहीं। सर्वर नाम उस
व्यक्ति के होते हैं जो उन्हें कनेक्ट करता है, इसलिए कोई शिप किया गया सहायक उनका
नाम नहीं दे सकता।
citation-auditor और research-scout विद्वत्तापूर्ण स्रोत खोजते हैं। प्रत्येक
tools: Read, Glob, Grep, WebSearch, WebFetch के साथ शिप होता है और उन टूलों को
अस्वीकार करता है जो फ़ाइलें लिखते हैं, कमांड चलाते हैं, अन्य सहायक शुरू करते हैं,
या प्रकाशित करते हैं: Write, Edit, MultiEdit, NotebookEdit, Bash,
PowerShell, Monitor, Agent, Artifact, और कार्य-सूची टूल। किसी प्रोफ़ाइल
सेटिंग के बिना, दोनों में से कोई भी किसी MCP टूल तक नहीं पहुँचता, और दोनों वेब
सर्च और वेब फ़ेच के माध्यम से स्रोत खोजते हैं।
इनमें से किसी एक को कनेक्टेड विद्वत्तापूर्ण इंडेक्स देने के लिए, प्रोफ़ाइल की
agent_mcp_servers कुंजी में सर्वर का नाम दें, जो एक एजेंट नाम को सर्वर नामों से
मैप करती है। तब Claude Code इंजन इंस्टॉल (apothem install) उस एजेंट की tools
पंक्ति में प्रति नामित सर्वर एक mcp__<server>__* प्रविष्टि जोड़ता है, और किसी
अन्य एजेंट को नहीं बदलता। Gemini CLI इंस्टॉल अक्षरों, अंकों और - से बने सर्वर
नाम के लिए, एजेंट की tools अनुमति-सूची में प्रति सर्वर एक mcp_<server>_*
प्रविष्टि के साथ यही करता है। दोनों पर, जिस सर्वर का नाम एजेंट का अपना
disallowedTools देता है वह अस्वीकृत ही रहता है। प्रविष्टि उस सर्वर के हर टूल को
स्वीकार करती है, जिसमें लिखने वाला कोई भी टूल शामिल है, इसलिए केवल उसी सर्वर का
नाम दें जिस पर आप खोजों के लिए भरोसा करते हैं: सहायकों के निर्देश उन्हें search,
look-up, read, verify, और resolve कॉल तक सीमित करते हैं, लेकिन हार्नेस केवल उन्हीं
नामों को लागू करता है जिन्हें tools पंक्ति सूचीबद्ध करती है। ऐसे एजेंट का नाम
जो मौजूद नहीं है, या जिसकी कोई स्पष्ट tools पंक्ति नहीं है, रिपोर्ट किया जाता
है और छोड़ दिया जाता है।
Claude Code और Gemini CLI के अलावा अन्य हार्नेस इस कुंजी को अनदेखा करते हैं।
Claude Code प्लगइन ट्री बिना प्रोफ़ाइल के जोड़ा जाता है और सादी सूची रखता है,
इसलिए प्लगइन उपयोगकर्ता इसके बजाय ~/.claude/agents/ के अंतर्गत एक
उपयोगकर्ता-स्तरीय एजेंट परिभाषित करता है। प्रोफ़ाइल सिंटैक्स, सर्वर-नाम नियम, और
वह वैकल्पिक उपाय
किसी सहायक को MCP सर्वरों तक पहुँच दें
पर हैं।
प्रति-हार्नेस रूपांतरण
जिस सहायक के tools अनुदान में, disallowedTools लागू होने के बाद, कोई फ़ाइल-संपादन
टूल (Write, Edit, MultiEdit, या NotebookEdit) शामिल नहीं होता, वह केवल-पठन है।
जिस सहायक का कोई tools अनुदान नहीं है, वह तब केवल-पठन है जब disallowedTools
कम से कम Write और Edit को अस्वीकार करता है। सहायकों को रूपांतरित करने वाला
प्रत्येक हार्नेस उस सीमा को नेटिव रूप से लागू करता है, उसे सहायक के निर्देशों में
बताता है, या केवल-पठन लेबल हटा देता है:
| हार्नेस | टूल सीमा | टर्न सीमा | मॉडल और प्रयास |
|---|---|---|---|
| Claude Code | tools / disallowedTools जैसा लिखा गया है, साथ ही कोई भी mcp__<server>__* प्रविष्टियाँ जिन्हें प्रोफ़ाइल की agent_mcp_servers कुंजी किसी सूचीबद्ध tools पंक्ति में जोड़ती है; tools के बिना, हर टूल इनहेरिट होता है, MCP सहित | maxTurns | इनहेरिट (सेट नहीं) |
| Codex | कुछ भी उत्सर्जित नहीं होता; सहायक के निर्देश इसे बताते हैं, और पैरेंट सत्र का सैंडबॉक्स लेखन को नियंत्रित करता है | उपलब्ध नहीं | इनहेरिट (सेट नहीं) |
| Gemini CLI | Gemini टूल नामों की tools अनुमति-सूची, साथ ही कोई भी mcp_<server>_* प्रविष्टियाँ जिन्हें प्रोफ़ाइल की agent_mcp_servers कुंजी किसी सूचीबद्ध स्पष्ट सूची में जोड़ती है; tools के बिना, अस्वीकृतियों से निहित अनुमति-सूची और साथ में mcp_* | max_turns | इनहेरिट (सेट नहीं) |
| Qwen Code | Qwen टूल नामों में tools / disallowedTools; tools के बिना, कोई सूची उत्सर्जित नहीं होती, इसलिए MCP टूल इनहेरिट होते हैं और अस्वीकृतियाँ लागू होती हैं | मैप नहीं किया गया | model: inherit |
| OpenCode | permission (प्रति टूल allow / deny); MCP टूल प्रतिबंधित नहीं हैं | मैप नहीं किया गया | इनहेरिट (सेट नहीं) |
| Antigravity | कुछ भी उत्सर्जित नहीं होता; विवरण से "read-only" हटा दिया जाता है | उपलब्ध नहीं | इनहेरिट (सेट नहीं) |
| CodeBuddy | अल्पविराम स्ट्रिंग के रूप में tools / disallowedTools, CodeBuddy द्वारा प्रलेखित टूल नामों तक सीमित; कोई MCP प्रविष्टि नहीं | maxTurns | इनहेरिट (सेट नहीं) |
| Trae | अल्पविराम स्ट्रिंग के रूप में tools / disallowedTools, Trae द्वारा प्रलेखित टूल नामों तक सीमित; कोई MCP प्रविष्टि नहीं | उपलब्ध नहीं | इनहेरिट (सेट नहीं) |
| GitHub Copilot | Copilot उपनामों (read, search, edit, execute, web, agent, todo) की tools अनुमति-सूची जिसमें अस्वीकृतियाँ समाहित हैं, क्योंकि Copilot में कोई deny कुंजी नहीं है; जो उपनाम किसी अस्वीकृत टूल को कवर करता है उसे छोड़ दिया जाता है; कोई MCP प्रविष्टि नहीं | उपलब्ध नहीं | इनहेरिट (सेट नहीं) |
| Cursor | कोई टूल सूची नहीं (Cursor में कोई नहीं है); Bash के बिना पाँच केवल-पठन सहायकों के लिए readonly: true, और अन्य केवल-पठन सहायक "read-only" लेबल हटा देते हैं | उपलब्ध नहीं | इनहेरिट (सेट नहीं) |
| Kimi Code | Kimi Code टूल नामों की सूचियों के रूप में tools / disallowedTools (WebFetch FetchURL बन जाता है, TodoWrite TodoList बन जाता है; जिन नामों के लिए Kimi Code में कोई टूल नहीं है उन्हें छोड़ दिया जाता है); कोई MCP प्रविष्टि नहीं | उपलब्ध नहीं | इनहेरिट (सेट नहीं) |
| Kiro | Kiro टूल श्रेणियों (read, write, shell, web, subagent) की tools अनुमति-सूची जिसमें अस्वीकृतियाँ समाहित हैं, क्योंकि लिखा जाने वाला एकमात्र प्रतिबंध यही सूची है; जो श्रेणी किसी अस्वीकृत टूल को कवर करती है उसे छोड़ दिया जाता है; कोई MCP प्रविष्टि नहीं | उपलब्ध नहीं | इनहेरिट (सेट नहीं) |
| Windsurf | Devin टूल नामों (read, edit, grep, glob, exec, write) की allowed-tools अनुमति-सूची जिसमें अस्वीकृतियाँ समाहित हैं, क्योंकि Devin में कोई deny कुंजी नहीं है; जिन तीन सहायकों को वेब टूल चाहिए वे इंस्टॉल नहीं होते; कोई MCP प्रविष्टि नहीं | उपलब्ध नहीं | Devin का डिफ़ॉल्ट सबएजेंट मॉडल (सेट नहीं) |
Hermes और Open-Claw सहायक फ़ाइलों को नेटिव सहायकों के रूप में नहीं, बल्कि समर्थन सामग्री के रूप में प्राप्त करते हैं।
ऑर्केस्ट्रेशन
सहायक परिनियोजन, समानांतर-लॉन्च प्रोटोकॉल, रिटर्न-अनुबंध प्रवर्तन, और आइसोलेशन अनुशासन ऑर्केस्ट्रेशन नियम में रहते हैं। प्रति-वर्कर डिस्पैच ट्री ऑर्केस्ट्रेशन पैटर्न नियम के §Decision Tree में रहता है। कैनोनिकल पथ:
src/apothem/rules/agent-orchestration.md
src/apothem/rules/agent-orchestration-patterns.mdजनित एजेंट इन्वेंट्री
| Name | Description | Source |
|---|---|---|
README | Persistent agent definitions — the reusable sub-agent specifications the harness materializes whenever the orchestrator deploys a research, audit, or quality team. Each agent is a | src/apothem/agents/README.md |
citation-auditor | Read-only citation audit — checks that each reference in a bibliography or cited passage exists, matches its record, and that the opened source states what the text attributes to it. Use when a draft cites sources: 'check my references', 'are these DOIs real', 'does this paper say what I cite it for'. Finding new sources routes to research-scout; a free-standing claim routes to fact-checker. | src/apothem/agents/citation-auditor.md |
codebase-explorer | Read-only codebase exploration — exhaustively find every instance of a pattern, trace call/import dependencies, discover host conventions, map architecture and layering. Use when the query is 'where is X used', 'find all callers of Y', 'what convention does this repo follow for Z', 'map the module structure', or 'trace what depends on this file' — never for edits or design, and never for review verdicts (architecture-review, code-audit). Works through Grep / Glob / Read plus read-only Bash and returns evidence-cited findings (path + line + snippet) exhaustive within the declared scope; reports gaps rather than guessing. | src/apothem/agents/codebase-explorer.md |
convention-auditor | Read-only conventions auditor: verify naming (kebab-case files, snake_case Python, frontmatter keys), cross-reference resolution (dead rule/skill/agent paths, broken anchors, half-edge bindings), formatting standards (SPDX header presence, frontmatter contract), and ecosystem coherence (orphan artifacts, sibling-convention drift, registry gaps). Dispatch when a change touches multiple rules/skills/agents/commands and you need a binary PASS/FINDING verdict per instance with file+line+expected+actual evidence — e.g. 'audit naming across the harness adapters', 'check every new rule resolves its Bindings cross-refs', 'verify the skills cohort matches the kebab-case + SKILL.md convention'. Read-only: never fixes, never runs shell. A whole-tree sweep, or any fix, is the ecosystem-audit skill. Conventions are owned upstream and verified against, never re-derived; every finding cites severity + evidence. | src/apothem/agents/convention-auditor.md |
dependency-auditor | Read-only dependency-tree risk audit — flags unpinned, stale, duplicate, and known-vulnerable dependencies with manifest/lockfile evidence. Dispatch within a dependency audit, before a release cut, or after adding a dependency; one named CVE or advisory routes to the vuln-triage skill, and a signing or provenance review to the supply-chain-audit command. Detects the ecosystem via host-discovery: npm (package.json + package-lock/yarn/pnpm), pip (pyproject/requirements + lock), cargo (Cargo.toml + Cargo.lock), go (go.mod + go.sum). Runs npm audit / pip-audit / cargo audit / govulncheck and returns a risk-ranked table (known-vulnerable → unpinned → duplicate → stale) with per-row evidence; never widens a pin or escalates a scope — gaps surface as inquiry. | src/apothem/agents/dependency-auditor.md |
design-critic | Read-only UI critique. Use for a design review, a usability or accessibility check, or 'what is wrong with this screen' before a UI ships. A WCAG sweep across a whole web surface routes to the a11y-audit command; a CLI or install-flow review to ux-review. Reviews code, screenshots, or a running page and returns fixes ranked by user impact, from a scored heuristic review and separately measured evidence. Opens with a degraded notice when measurement tooling is missing; never guesses a measurement. | src/apothem/agents/design-critic.md |
fact-checker | Read-only adversarial claim verification — decompose input into atomic claims, seek ≥2 independent sources, attempt refutation, assign cited verdicts (supported / refuted / unverifiable) with quoted evidence and confidence. Use when a claim needs proof before it ships: a benchmark or statistic in docs/copy, a 'X is faster/safer than Y' assertion, a citation that names an RFC or spec, a release note, or any factual claim a reviewer would challenge. Routes external claims through WebSearch / WebFetch and repository claims through Read / Glob / Grep; defaults to refuted-or-unverifiable when evidence is insufficient, never a charitable supported. | src/apothem/agents/fact-checker.md |
mcp-builder | Scaffold a Model Context Protocol (MCP) server skeleton from a tool/resource contract — contract-first, well-typed tools, minimal surface. Use when: 'build an MCP server for <API>', 'scaffold MCP tools from this spec', 'wire FastMCP/TypeScript-SDK tool definitions', 'add a tool that exposes <resource> over MCP'. Detection: tool names + argument shapes + return types + resource URIs are stated or derivable. Selects the SDK via host-discovery (FastMCP for Python, the TypeScript SDK for Node), emits one typed tool definition per contract entry plus a list-tools smoke test, and scaffolds nothing speculative. Not for: tuning, securing, or load-testing an existing server (those surface as adjacent gaps). | src/apothem/agents/mcp-builder.md |
memory-auditor | Read-only memory-file auditor: cross-reference every claim in the harness memory tier (MEMORY.md index + topic files under <harness-root>/projects/{hash}/memory/ and <harness-root>/memory/) against actual filesystem state — file/line/rule counts (glob and count), referenced paths (do they exist?), rule scope labels (match pathFilter frontmatter?), dates (against frontmatter updated: or mtime, never the system clock), and cross-reference matrices. Dispatch when MEMORY.md or a topic file may have drifted from reality and you need a per-claim PASS/FAIL verdict with contradicting evidence — e.g. 'audit MEMORY.md after the rules cohort was renamed', 'verify the memory index counts match the current ecosystem', 'check the debugging topic file for stale references to deleted artifacts'. Existence + name match only; never re-audit an artifact's internal correctness (convention-auditor's scope). Read-only: never writes, never fixes. | src/apothem/agents/memory-auditor.md |
prompt-evaluator | Read-only rubric scoring of a prompt's output set — score each output against each named criterion (PASS/FAIL with cited evidence), aggregate per-criterion pass-rate, flag regressions against a baseline, and name recurring failure modes. Use when prompt or model outputs need a reproducible verdict before they ship: comparing a reprompted variant against the prior version, gating a system-prompt change, judging an LLM-as-judge eval set, scoring few-shot outputs against acceptance criteria, or proving a quality claim a reviewer would challenge. Scores outputs that already exist: building the dataset, scorer or runner routes to the eval-harness skill, and a full campaign to the eval command. Requires an explicit rubric — an absent or underspecified rubric blocks scoring and routes as inquiry; never invents a criterion or threshold, never scores charitably. | src/apothem/agents/prompt-evaluator.md |
quality-gate | Read-only quality-gate runner — discovers the host's lint / type-check / test / security / build commands, runs them in the correct order (build → type-check → tests+lint+security in parallel), and returns a per-gate PASS/FAIL verdict with file+line+error evidence. Reports, never fixes. Dispatch as a Quality team before a release cut, after a multi-file change, or to confirm a fix is green — e.g. 'run the full quality matrix and tell me what fails', 'gate this branch before I push', 'is the test suite green and the types clean?'. Runs the whole matrix; tests alone route to test-runner. Detects tooling via host-discovery (ruff/eslint/markdownlint, mypy/tsc/pyright, pytest/jest/cargo test/go test, bandit/npm audit/gitleaks); never assumes a stack. | src/apothem/agents/quality-gate.md |
refactor-surgeon | Scoped, behavior-preserving refactor of a named target — extract the behavioral contract, re-derive clean-room (never edit in place), name the one deficiency removed, verify regression via the host's own tests. Dispatch as a delegated team member on a single named target with a clear refactor intent; a user-driven interactive extraction is the refactor-extract skill — e.g. 'consolidate the duplicated validation in the CLI's install module', 'untangle the nested conditionals in the config renderer without changing output', 'rename the god-object methods in the adapter class to reveal intent'. Touches only the named target; adjacent gaps surface as findings, never as edits. Behavior, contracts, and side effects are identical before and after; a behavior change is a defect. | src/apothem/agents/refactor-surgeon.md |
research-scout | Read-only source discovery and ranking — decompose a research question into facets, fan out parallel web queries, rank candidates by authority, recency, and relevance, and return a deduplicated ranked source list. Use when a question needs sources before it can be answered: 'find the authoritative spec/RFC for X', 'what are the primary sources on Y', 'gather current references for a docs/copy claim', 'survey the landscape before a deep dive'. Fans external facets through any scholarly index server the operator has granted it, WebSearch, and WebFetch, and any in-repo corpus through Read / Glob / Grep. Also looks up papers and preprints by DOI, arXiv id, or topic ('find the paper behind this DOI'), and scouts existing open-source projects before anything new is built ('is there already a library for this', 'adopt or fork'). Discovery and ranking only — never fabricates a URL, never synthesizes; a written cited report routes to the multi-source-research skill, claim verification to fact-checker, and combining given documents to source-synthesis. | src/apothem/agents/research-scout.md |
security-scanner | Read-only secret, SAST-pattern, and config-risk sweep — a coarse first-pass that surfaces candidates fast and routes deep scanning to the host's CI scanners. Dispatch inside a security audit, after touching auth/crypto/IO surfaces, or when a secret may have been committed; a full repository security audit routes to the security-audit command. Greps for credential literals (key/token/password/private-key/certificate, committed .env values), injection surfaces (shell=True on untrusted input, string-formatted SQL, command interpolation), unsafe-eval (eval/exec/Invoke-Expression), unsafe deserialization (pickle.loads, yaml.load without SafeLoader), and config risk (over-broad CI permissions:, unpinned Actions uses:, network egress). Routes known-vulnerable dependencies to the dependency-auditor agent, CVE/advisory triage to the vuln-triage skill, and leaked-credential rotation to the secret-rotation skill. | src/apothem/agents/security-scanner.md |
test-runner | Read-only test-suite runner — discovers the host's test command, runs it, and triages every failure by root cause with test+file+line+assertion evidence. Reports, never fixes. Dispatch as a Research/Quality team member after a code change, before a release cut, or to confirm a fix is green — e.g. 'run the tests and tell me what's failing and why', 'is the suite green on this branch?', 'triage the failures in the auth module'. Tests only: lint, type and security gates route to quality-gate. Detects the runner via host-discovery (pytest/jest/cargo test/go test/Makefile target from the manifest + CI config); never assumes pytest. | src/apothem/agents/test-runner.md |
कमांड
प्लान-सूट पाइपलाइन को लागू करने वाली स्लैश-कमांड परिभाषाएँ, साथ ही कोड, आर्किटेक्चर, सुरक्षा, निर्भरताओं और दस्तावेज़ीकरण समीक्षा के लिए ऑडिट।
हुक
SessionStart, PreToolUse, PostToolUse और Stop पर सक्रिय होने वाले टूल इवेंट हैंडलर, जो git आइसोलेशन और प्लान अनुशासन लागू करने वाले संदेश संदर्भ लोड करते हैं, परीक्षित रनटाइम अनुबंध और प्रति-उपयोगकर्ता स्थिति के साथ।