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 zhouyou-gu/skill-marketplace-template --skill agent-filesgit clone --depth 1 https://github.com/zhouyou-gu/skill-marketplace-templateWrote 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/zhouyou-gu/skill-marketplace-template/agent-files)<a href="https://agentmods.dev/skills/zhouyou-gu/skill-marketplace-template/agent-files"><img src="https://agentmods.dev/badge/skills/zhouyou-gu/skill-marketplace-template/agent-files/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/zhouyou-gu/skill-marketplace-template/agent-files"><img src="https://agentmods.dev/badge/skills/zhouyou-gu/skill-marketplace-template/agent-files.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.00068 | $0.01550 |
| Opus 5 | $0.00034 | $0.00775 |
| Sonnet 5 | $0.00014 | $0.00310 |
| Haiku 4.5 | $0.00007 | $0.00155 |
Grade A, and why
agent-files 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 11d 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.
How it starts
The opening of the file, as written. The whole thing — 63 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Agent Files Scaffold
Trigger
- Use when a workspace needs the four-file AGENT contract (
AGENT.md,AGENT_GOAL.md,AGENT_HARNESS.md,AGENT_PROGRESS.md) scaffolded from scratch with strict, non-overlapping functional boundaries. - Use when preparing a workspace to survive handoff between agents, where the caller wants a disciplined, recoverable contract on first read.
- Do not use to curate or revise an existing
AGENT_GOAL.md; goal curation is outside this scaffold's write surface. - Do not use when the caller explicitly asks for a domain-specific AGENT-file scaffolder or sidecar-aware workflow; this generic scaffold owns only the base four-file contract.
- Do not use when only a task checklist is needed and no durable four-file contract is wanted.
Inputs
target_dir: directory where the four AGENT files will be scaffoldedmission: one- or two-sentence long-term mission statement written intoAGENT_GOAL.md; required so the scaffolded contract is internally consistent on first read. It must not include reusable workflow rules, formatting preferences, current task state, next steps, or transient objectives.objective: optional concrete in-flight objective written intoAGENT_PROGRESS.md; it must be transient current work, not a second mission statement or permanent scope rule. When omitted, the## Current Objectivesection is removed rather than left as a literal placeholder.overwrite: when true, existing files intarget_dirare replaced as an explicit control-contract overwrite; otherwise only compatible existing files are recorded infiles_skipped
Workflow
- Receive
target_dirandmission. Confirm the directory exists or create it.missionis required so the scaffolded contract is internally consistent the moment a later agent reads it;AGENT.mdandAGENT_GOAL.mdare agent-immutable after scaffold and cannot be filled in autonomously later. - Classify the supplied
missionand optionalobjectivebefore writing:- mission-level purpose belongs in
mission - transient current work belongs in
objective - reusable workflow rules and preferences belong in future
AGENT_HARNESS.mdupdates, not inmission - current repository state, blockers, and next steps belong in future
AGENT_PROGRESS.mdupdates, not inmission
- mission-level purpose belongs in
- Before partial adoption, inspect any existing
AGENT.md,AGENT_GOAL.md,AGENT_HARNESS.md, orAGENT_PROGRESS.mdintarget_dir. If any of these files already exist andoverwriteis false, proceed only when every existing file passes the hardened compatibility checklist below; otherwise stop and ask whether to useoverwrite=trueor choose a clean target directory. Do not mix boundary-aware files with incompatible older files.AGENT.mdmust start with# Agent Controland contain the phrasesagent-immutable control contract,control-contract replacement, migration, or scaffold overwrite, andChild skills and sidecars shall not patch this file; the higher-precedence caveat includingvenue;## Boundary Audit Checklist; a precedence section; an update-routing or update-dispatcher section; and the dispatcher-maintenance terminal condition.AGENT_GOAL.mdmust start with# Mission, contain the phraseagent-immutable, and preserve neutral scaffold entries such asNot yet specified by userrather than instructional placeholders.AGENT_HARNESS.mdmust start with# Workspace Harness, contain the phrasereusable playbook, use## Stable Operating Context, include## Reusable Preferences, and preserve the neutral reusable-preference placeholder or real durable rules.AGENT_PROGRESS.mdmust start with# Progress, contain the phraselive-state record, include the neutral completed-changes entryNo completed changes recorded yet.or real factual progress, and contain no literal{{ objective }}placeholder.
- For each of
AGENT.md,AGENT_GOAL.md,AGENT_HARNESS.md,AGENT_PROGRESS.md:- If the file already exists and
overwriteis false, skip it and record the path infiles_skipped. - Otherwise copy the corresponding template from
examples/intotarget_dir. Substitutemissionfor the{{ mission }}placeholder inAGENT_GOAL.md; the remaining goal sections render as explicit "not yet specified by user" entries rather than instructional placeholders, so they are not mistaken for user-approved scope. Ifobjectiveis provided, substitute it for the{{ objective }}placeholder inAGENT_PROGRESS.md; ifobjectiveis omitted, remove the entire## Current Objectivesection fromAGENT_PROGRESS.mdrather than leaving a literal placeholder, so the file remains internally consistent.
- If the file already exists and
- Return
target_dir,files_created, andfiles_skipped.
What ships with it
7 files 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.
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.
- 11d ago First seen · 63 lines · 68 tokens per session scan A d548d40ec6e8
agent-files is a skill published in the GitHub repository zhouyou-gu/skill-marketplace-template (5 stars, last pushed 18d ago), licensed MIT. It adds 68 tokens to every session and 1,550 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.
Other skills, from other repositories
systematic-debugging
Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.
local-ai-agents
Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…
next-cache-components-adoption
Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…
insight-error-page
Write or audit an insight-kind error page for the Next.js dev overlay. Use when creating a new errors/ .mdx page, auditing an existing one, or checking that a page matches the framework fix cards. Covers page structure, title alignment, FixCard cards with Copy prompt button, code snippets, terminology verification…
next-cache-components-optimizer
Drive a Next.js route to instant navigation by setting up an agentic loop, under Cache Components / PPR, on initial load (hard navigation) and client-side navigation (soft navigation). Encode the goal as a failing @next/playwright instant() e2e and work it to green, one verified route at a time; the shipped test then…
next-partial-prefetching-adoption
Turn on Partial Prefetching in a Next.js app and work through the insights it surfaces. Use when the user wants to enable or adopt Partial Prefetching, flip the partialPrefetching flag, opt routes in with export const prefetch = 'partial', audit Link prefetch={true} behavior, preserve existing prefetched UI with…