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.
npx skills add loopdive/js2 --skill tech-lead-loopgit clone --depth 1 https://github.com/loopdive/js2Wrote 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.
[](https://agentmods.dev/skills/loopdive/js2/tech-lead-loop)<a href="https://agentmods.dev/skills/loopdive/js2/tech-lead-loop"><img src="https://agentmods.dev/badge/skills/loopdive/js2/tech-lead-loop/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.
<a href="https://agentmods.dev/skills/loopdive/js2/tech-lead-loop"><img src="https://agentmods.dev/badge/skills/loopdive/js2/tech-lead-loop.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector warn
SkillSpector: 7 findings, up to high
These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →
- high Agent Snooping · line 90 Skill reads from agent configuration directories (.claude/, .codex/, .gemini/). These directories may contain API keys, personal settings, and other credentials that the skill has no legitimate need to access.Fix: Remove all code or instructions that access agent configuration directories (.claude/, .codex/, .gemini/). If configuration values are needed, pass them explicitly as parameters or environment variabl
- medium Agent Snooping · line 310 Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.Fix: Remove all code or instructions that list or read other skills' files or directories. Skills should operate independently; cross-skill access is a privilege escalation.
- medium Agent Snooping · line 311 Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.Fix: Remove all code or instructions that list or read other skills' files or directories. Skills should operate independently; cross-skill access is a privilege escalation.
- medium Agent Snooping · line 312 Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.Fix: Remove all code or instructions that list or read other skills' files or directories. Skills should operate independently; cross-skill access is a privilege escalation.
- medium Agent Snooping · line 313 Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.Fix: Remove all code or instructions that list or read other skills' files or directories. Skills should operate independently; cross-skill access is a privilege escalation.
- medium Agent Snooping · line 314 Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.Fix: Remove all code or instructions that list or read other skills' files or directories. Skills should operate independently; cross-skill access is a privilege escalation.
- medium Agent Snooping · line 315 Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.Fix: Remove all code or instructions that list or read other skills' files or directories. Skills should operate independently; cross-skill access is a privilege escalation.
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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00055 | $0.03896 |
| Opus 5.5 | $0.00022 | $0.01558 |
| Sonnet 5.5 | $0.00011 | $0.00779 |
| Haiku 4.5 | $0.00006 | $0.00390 |
Grade B, and why
tech-lead-loop scanned grade B with 1 finding 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.
Reads agent configuration directoriesmediumAgent snooping
.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.
cat .claude/ci-status/pr-$p.json 2>/dev/null | \ How it starts
The opening of the file, as written. The whole thing — 318 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Tech Lead Loop
The tech lead is the orchestrator of a multi-dev sprint. This skill defines the standing loop the tech lead runs to keep development unblocked, enforce protocol, and move the merge queue forward — without becoming a bottleneck.
The loop has five phases. You cycle through them continuously for the duration of the sprint. Each phase has triggers, a checklist, and the specific sub-skills / slash commands to invoke.
Never delegate understanding. This skill tells you what to check; you must read the results and decide.
Principles
- Devs are authoritative for their own PRs. Tech lead only intervenes when a dev is truly stuck, when claims conflict, or when the merge queue stalls.
- TaskList is the canonical dispatch mechanism. Populate it at sprint start and whenever new issues are added mid-sprint. Devs self-serve — they claim tasks, self-merge, and claim the next task without waiting for tech lead direction.
- SendMessage only for escalations and exceptions. Devs contact tech lead only if TaskList is empty, they are blocked >30 min, or CI criteria force an escalation. Tech lead contacts devs only when they are stuck/silent or there is a file conflict to resolve.
- Every protocol correction issued to one dev should be generalized. If you correct one dev, broadcast the canonical protocol to all devs within the next cycle — individual corrections rot.
- Keep tool calls parallel when independent. One message with five Bash calls is dramatically faster than five sequential ones.
- Measure the merge queue, not the task queue. The right metric is "how many PRs are ready to merge but unmerged" — stalls there compound.
Phase 0 — Session start / context load
Trigger: fresh conversation, or resume after /compact or context rollover.
Checklist:
- Read the current sprint doc:
plan/issues/sprints/<N>/sprint.md - Read the tech lead handoff:
plan/agent-context/tech-lead.md git status && git branch --show-current && git log --oneline origin/main -10gh pr list --state open --limit 20— snapshot of inherited open PRsls .claude/worktrees/— inherited worktrees (may contain WIP)- Before dispatching,
node scripts/pre-dispatch-gate.mjs <N>— its FILE OVERLAP section names open PRs that change the files the issue's plan names (plan/method/file-locks.mdis retired, #7559) - Read
.claude/memory/MEMORY.mdtop section — critical rules + feedback index TaskList— if empty, create tasks fromplan/issues/sprints/{N}/(current sprint dir, filter bystatus: ready) before touching any dev.
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.
- 2d ago Changed 791672a5ac3c
- 3mo ago First seen · 318 lines · 55 tokens per session scan B 8a4e46928621
tech-lead-loop is a skill published in the GitHub repository loopdive/js2 (70 stars, last pushed yesterday), licensed Apache-2.0. It adds 55 tokens to every session and 3,896 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it B with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
tech-lead-loop compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| tech-lead-looploopdive/js2 | Skill | 70 | yesterday | Apache-2.0 | B | 55 | Claude Code |
| pr-writeroxc-project/oxc | Skill | 24k | today | MIT | A | 31 | Claude Code, Codex |
| triage-bot-pr-writeroxc-project/oxc | Skill | 24k | today | MIT | A | 32 | Claude Code, Codex |
| create-prprisma/orm | Skill | 48k | today | Apache-2.0 | A | 47 | Claude Code, Codex |
| draft-release-notesprisma/orm | Skill | 48k | today | Apache-2.0 | A | 174 | Claude Code, Codex |
| publish-npm-versionprisma/orm | Skill | 48k | today | Apache-2.0 | A | 206 | Claude Code, Codex |
| triage-contributor-prprisma/orm | Skill | 48k | today | Apache-2.0 | A | 131 | Claude Code |