teardown

teardown is a skill for Claude Code, Codex from masa-san-jp/Agent-Aiko. It costs 120 tokens per session (760 once invoked), scanned A, original, MIT.

A session-ending workflow for an AI agent that updates its work log, runs scheduled self- or peer reviews, and pushes the changes to Git.

In plain words
What is it for?
Use it when an agent finishes a task and needs to update its per-agent JSONL log, optionally review the work, and push the result.
Why use it?
It brings several end-of-session record-keeping tasks into one defined sequence, so logs and repository updates are less likely to be missed.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions CLAUDE.md.

Good fit Use it when an agent finishes a task and needs to update its per-agent JSONL log, optionally review the work, and push the result.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/masa-san-jp/agent-aiko/teardown
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.

Any agent
npx skills add masa-san-jp/Agent-Aiko --skill teardown
Clone the repo
git clone --depth 1 https://github.com/masa-san-jp/Agent-Aiko

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 teardown

README.md
[![agentmods](https://agentmods.dev/badge/skills/masa-san-jp/agent-aiko/teardown/github.svg)](https://agentmods.dev/skills/masa-san-jp/agent-aiko/teardown)
Your own site
<a href="https://agentmods.dev/skills/masa-san-jp/agent-aiko/teardown"><img src="https://agentmods.dev/badge/skills/masa-san-jp/agent-aiko/teardown/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.

agentmods 80×15 button for teardown

Your own site · 80×15
<a href="https://agentmods.dev/skills/masa-san-jp/agent-aiko/teardown"><img src="https://agentmods.dev/badge/skills/masa-san-jp/agent-aiko/teardown.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 120 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 760 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00120 $0.00760
Opus 5 $0.00060 $0.00380
Sonnet 5 $0.00024 $0.00152
Haiku 4.5 $0.00012 $0.00076

Measured 10d ago against content hash 9b3070fd4e9d, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

teardown 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 10d 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.

reference/skills/teardown/SKILL.md · 42 lines

What it actually says

/teardown

業務エージェント({{TEAM_AGENTS}} など)の標準終了シーケンス。各エージェントの CLAUDE.md から呼ばれる共通スキル。

引数

  • <agent>:対象エージェント名
  • [--peer-review]:金曜の相互レビュー対象週なら付与
  • 引数なしの場合:cwd から推測

実行手順(順番厳守)

  1. local-workspace/logs/<agent>/current.jsonlupdate_log テンプレ({{ORG_REPO_PATH}}/Agent-team/skills/update_log.md)で追記更新する
  2. 金曜の場合:{{ORG_REPO_PATH}}/Agent-team/skills/self_review.md に従って自己レビューを実施
    • --peer-review 指定または対象エージェントの場合、当該週なら相互レビューも実施(ローテーションは peer_review.md 参照)
  3. {{ORG_REPO_PATH}}/Agent-team/skills/git_push.md の手順で push する

関連と差別化

/teardown /log-push(任意・組織で構築する場合)
対象 業務エージェント単独の終了処理 プロジェクト横断(agents + 公開ログ)
ログ追記 per-agent JSONL のみ per-agent JSONL + dev-logs.md + 公開ログ
レビュー 金曜の self/peer review 含む 含まない
git push git_push スキル経由(per-agent push) リポ全体 push
用途 エージェント単位の整然とした終了 セッション横断の総まとめ・公開記録

セッション終了表現とログ/push 言及の両方が出た場合は、組織で広範囲な /log-push を別途構築している場合はそちらを優先。各エージェント単独の節目(業務完了報告など)では /teardown を使う。

関連ファイル

  • update_log テンプレ:{{ORG_REPO_PATH}}/Agent-team/skills/update_log.md
  • 自己レビュー:{{ORG_REPO_PATH}}/Agent-team/skills/self_review.md
  • 相互レビュー:{{ORG_REPO_PATH}}/Agent-team/skills/peer_review.md
  • git push:{{ORG_REPO_PATH}}/Agent-team/skills/git_push.md
  • per-agent ログ:{{ORG_REPO_PATH}}/local-workspace/logs/<agent>/current.jsonl
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. 10d ago First seen · 42 lines · 120 tokens per session scan A 9b3070fd4e9d

Subscribe to this mod's changes

teardown is a skill published in the GitHub repository masa-san-jp/Agent-Aiko (3 stars, last pushed 1mo ago), licensed MIT. It adds 120 tokens to every session and 760 once invoked, about $0.0006 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.

Related

Other skills, from other repositories