delegate

delegate is a skill for Claude Code, Codex from d-o-hub/github-template-ai-agents. It costs 63 tokens per session (729 once invoked), scanned A, original, MIT.

A lightweight helper for quickly finding files, code patterns, documentation, and recent repository changes, then summarizing what it found for another coding agent.

In plain words
What is it for?
Use it to locate a function or class, find code that uses a module, map the folder structure, inspect configuration, or check recent Git commits before planning work.
Why use it?
It removes the need to inspect an entire codebase when you only need a quick answer about where something is or what the project currently contains.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/d-o-hub/github-template-ai-agents/delegate
Any agent
npx skills add d-o-hub/github-template-ai-agents --skill delegate
Clone the repo
git clone --depth 1 https://github.com/d-o-hub/github-template-ai-agents

Made for: Claude Code, Codex.

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 delegate

README.md
[![agentmods](https://agentmods.dev/badge/skills/d-o-hub/github-template-ai-agents/delegate.svg)](https://agentmods.dev/skills/d-o-hub/github-template-ai-agents/delegate)
Your own site
<a href="https://agentmods.dev/skills/d-o-hub/github-template-ai-agents/delegate"><img src="https://agentmods.dev/badge/skills/d-o-hub/github-template-ai-agents/delegate.svg" alt="Measured on agentmods" height="20"></a>
Per session 63 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 729 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00063 $0.00729
Opus 5 $0.00032 $0.00365
Sonnet 5 $0.00013 $0.00146
Haiku 4.5 $0.00006 $0.00073

Measured 3d ago against content hash 8c963b83478c, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

delegate 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 3d 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.

.agents/skills/delegate/SKILL.md · 75 lines

How it starts

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

Delegate Skill

The Delegate skill provides a lightweight tier for rapid retrieval and context gathering.

When to Use

  • Quick context lookups and pattern matching
  • Finding specific code implementations or documentation
  • Assessing the current state of a repository before planning
  • Identifying potential areas for modification without deep analysis
  • Even if they just say "find where X is defined" or "what's the current state of Y"

Workflow

  1. Context Retrieval: Use grep and glob to locate files matching the query.
  2. Summarization: Read relevant files and synthesize findings into a concise summary.
  3. Handoff: Pass gathered context to the primary agent or an Implementer.

What to Retrieve

Query Type Tools Example
"Where is X defined?" grep -rn "def X|class X|function X" Find function/class definitions
"What uses X?" grep -rn "import X|require.*X|from X" Find all consumers of a module
"Show me the structure" find . -type f -name "*.py" | head -30 Map directory layout
"What changed recently?" git log --oneline -10 Recent commit history
"What's in this config?" Read the file directly Parse configuration files

When to Hand Off

Delegate should hand off to an Implementer when:

  • The task requires modifying code, not just reading it
  • The user's intent is clearly "fix" or "change" rather than "find" or "show"
  • The retrieved context reveals a bug or issue that needs a code fix

Gotchas

  • Avoid deep file reads when a targeted grep would suffice — saves tokens and context.
  • When searching for patterns, use the narrowest regex possible to avoid noise.
  • If the query is ambiguous, retrieve first, then ask for clarification with context.

Rationalizations

Rationalization Reality
"I can find this faster myself" Using the Delegate skill ensures systematic coverage and reduces cognitive load during discovery.
"Just grep for it inline" Structured retrieval with handoff ensures findings are captured and passed to the right agent.

Read the full file on GitHub · 75 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 3d ago First seen · 75 lines · 63 tokens per session scan A 8c963b83478c

Subscribe to this mod's changes

delegate is a skill published in the GitHub repository d-o-hub/github-template-ai-agents (2 stars, last pushed 3d ago), licensed MIT. It adds 63 tokens to every session and 729 once invoked, about $0.0003 per session on Opus 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-31.