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 chen3feng/agent-skills --skill agent-work-artifacts-layoutgit clone --depth 1 https://github.com/chen3feng/agent-skillsWrote 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/chen3feng/agent-skills/agent-work-artifacts-layout)<a href="https://agentmods.dev/skills/chen3feng/agent-skills/agent-work-artifacts-layout"><img src="https://agentmods.dev/badge/skills/chen3feng/agent-skills/agent-work-artifacts-layout/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/chen3feng/agent-skills/agent-work-artifacts-layout"><img src="https://agentmods.dev/badge/skills/chen3feng/agent-skills/agent-work-artifacts-layout.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.00027 | $0.02410 |
| Opus 5.5 | $0.00011 | $0.00964 |
| Sonnet 5.5 | $0.00005 | $0.00482 |
| Haiku 4.5 | $0.00003 | $0.00241 |
Grade A, and why
agent-work-artifacts-layout 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 3mo 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 — 242 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Agent work artifacts: where do they go?
When to use
Any task where the agent produces files that are not the user's
intended deliverable: PR body drafts for gh pr create --body-file,
throwaway repro_*.py / check_*.sh scripts, audit reports,
analysis dumps, temporary fixtures. Without a convention these end
up either polluting the working tree (triggering "do I need to
delete this?" round-trips) or getting lost across sessions even
when they had reuse value.
Problem
Three recurring failure modes:
- PR body files left in the repo root (e.g.
pr_body.md), forcing the user to confirm deletion after every PR. - One-off scripts committed to random places — sometimes in the repo root, sometimes nowhere — making future contributors unsure whether they are project tooling or dead weight.
- Fixed temp paths like
/tmp/pr_body.mdthat collide between parallel agent sessions.
Solution
Route every artifact through this four-way decision:
1. Single-use (PR body, gh intermediate, shell pipe)?
→ system temp via mktemp -t <slug>.XXXXXX.<ext>
(POSIX: $TMPDIR or /tmp; Windows: %TEMP%)
2. Repo-scoped helper, human-authored, part of project lifecycle?
→ scripts/ (or tools/ if the repo already uses that)
with argparse CLI, docstring, usage example.
3. Repo-scoped helper, agent-authored, reviewed and reusable?
→ .agent/tools/ (tracked subdirectory of the agent working area,
see the four-cell layout below)
4. General-purpose, useful across projects?
→ offer to publish as a GitHub Gist.
5. Agent working notes / drafts / caches NOT meant for sharing?
→ .agent/scratchpad/ | .agent/artifacts/ | .agent/context/
(gitignored, local-only)
If none apply, delete the file rather than leaving it ambiguous.
.agent/ four-cell layout
.agent/ is not a single bucket — split it by lifetime and
tracking intent:
| Subdirectory | Purpose | Tracked? |
|---|---|---|
.agent/scratchpad/ |
Free-form notes, pseudo-code, drafts. | No |
.agent/artifacts/ |
Generated deliverables (exported docs, images, one-off reports). | No |
.agent/tools/ |
Reviewed agent-authored helpers for this repo. | Yes |
.agent/context/ |
Project index / knowledge-base caches / embeddings. | No |
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.
- 3mo ago First seen · 242 lines · 27 tokens per session scan A 86cd739291ee
agent-work-artifacts-layout is a skill published in the GitHub repository chen3feng/agent-skills (5 stars, last pushed 6mo ago), licensed Apache-2.0. It adds 27 tokens to every session and 2,410 once invoked, about $0.0001 per session on Opus 5.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.
agent-work-artifacts-layout compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| agent-work-artifacts-layoutchen3feng/agent-skills | Skill | 5 | 6mo ago | Apache-2.0 | A | 27 | Claude Code, Codex |
| git-clean-commit-guardorlando-japan/claude-code-setting | Skill | 2 | 2mo ago | MIT | A | 43 | Claude Code, Codex |
| html-ppt-hermes-cyber-terminalnexu-io/open-design | Skill | 110k | today | Apache-2.0 | A | 53 | Claude Code, Codex |
| tao-run-inference-serviceNVIDIA/skills | Skill | 4.2k | 2d ago | Apache-2.0 | A | 92 | Claude Code |
| developmentfengshao1227/ccg-workflow | Skill | 6.0k | 11d ago | MIT | A | 41 | Claude Code |
| tencent-docsUnicomAI/wanwu | Skill | 2.4k | 5d ago | Apache-2.0 | A | 209 | Claude Code, Codex |
| debugging-executionsn8n-io/n8n | Skill | 212k | today | none | A | 86 | Claude Code, Codex |