agent-skill-lifecycle

agent-skill-lifecycle is a skill for Claude Code, Codex from davidtoby/agent-skills. It costs 77 tokens per session (548 once invoked), scanned A, original, MIT.

A workflow for discovering, writing, publishing, combining, and improving skills for coding agents. It also covers recalling useful procedures from session logs and organizing reusable knowledge.

In plain words
What is it for?
Use it to find existing skills, create SKILL.md files, validate and publish skill packages, consolidate overlapping skills, or extract reusable procedures from logs.
Why use it?
It helps turn repeated agent tasks into maintainable instructions instead of leaving useful methods buried in past sessions.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to find existing skills, create SKILL.md files, validate and publish skill packages, consolidate overlapping skills, or extract reusable procedures from logs.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/davidtoby/agent-skills/agent-skill-lifecycle
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 davidtoby/agent-skills --skill agent-skill-lifecycle
Clone the repo
git clone --depth 1 https://github.com/davidtoby/agent-skills

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 agent-skill-lifecycle

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/davidtoby/agent-skills/agent-skill-lifecycle"><img src="https://agentmods.dev/badge/skills/davidtoby/agent-skills/agent-skill-lifecycle.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 77 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 548 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.00077 $0.00548
Opus 5 $0.00039 $0.00274
Sonnet 5 $0.00015 $0.00110
Haiku 4.5 $0.00008 $0.00055

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

Security

Grade A, and why

agent-skill-lifecycle 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 6d 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.

skills/curated/agent-skill-lifecycle/SKILL.md · 54 lines

How it starts

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

Agent Skill Lifecycle

Use this umbrella for skill collection maintenance and agent learning workflows.

Core workflow

  1. Determine whether the user needs discovery, authoring, publishing, migration/consolidation, or retrospective learning.
  2. Search existing skills before creating new ones; prefer class-level umbrella skills with references/templates/scripts over one-session micro-skills.
  3. When authoring, keep frontmatter concise and trigger-rich; keep SKILL.md procedural; move detailed examples into references.
  4. Validate structure and names before publishing or packaging.
  5. When mining logs, extract durable reusable procedures, not task progress.
  6. For proactive/self-improving systems, define explicit triggers, buffers, review cadence, and safety limits.

Labeled playbooks

Skill discovery and installation

Use search terms based on task class and domain synonyms. Prefer broad skills that cover the workflow family.

Skill creation

Follow progressive disclosure: SKILL.md for core workflow; references/ for long domain notes; templates/ for starter files; scripts/ for deterministic helpers.

Repository publishing

Update source skill, rebuild package artifacts, refresh README/package lists, and handle stale package conflicts with explicit git status checks.

Session-log recall

Use logs to recover previous decisions, commands, and errors. Condense stable lessons into skills/memory only when they are reusable.

Ontology and structured memory

Use typed entities and links when long-running projects need queryable structure beyond plain text memory.

Proactive agent patterns

Use working buffers, WAL/progress logs, autonomous cron boundaries, and user-visible summaries to avoid hidden runaway behavior.

Tool pitfalls

skill_manage.patch escape-drift on quoted text

If skill_manage(action='patch') returns Escape-drift detected, the old_string/new_string likely contains JSON-escaped quote artifacts such as \" that do not exist in the file. Do not work around by broadening the patch blindly. Re-read or inspect the target text, then retry with literal quote characters (") in the Python/JSON string value rather than backslash-prefixed quote text in the matched content.

Read the full file on GitHub · 54 lines

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. 6d ago First seen · 54 lines · 77 tokens per session scan A c34672c9eb67

Subscribe to this mod's changes

agent-skill-lifecycle is a skill published in the GitHub repository davidtoby/agent-skills (10 stars, last pushed 1mo ago), licensed MIT. It adds 77 tokens to every session and 548 once invoked, about $0.0004 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-09-03.

Related

Other skills, from other repositories

morph-ppt

Use this skill when the user wants a .pptx with smooth cross-slide animation — PowerPoint Morph transitions, Keynote-style continuous motion, shapes that grow / move / rotate as the slide advances. Trigger on: 'morph', 'morph transition', 'smooth transition', 'continuous animation across slides', 'Keynote-style…

iOfficeAI/OfficeCLI · 169 tokens

officecli-academic-paper

Use this skill to build academic-style .docx output: journal / conference / thesis chapters carrying formal citation style (APA, Chicago, IEEE, MLA), numbered equations, figure & table cross-references, footnotes/endnotes, bibliography, or multi-column journal layout. Trigger on: 'research paper', 'journal paper'…

iOfficeAI/OfficeCLI · 141 tokens

officecli-word-form

Use this skill to create fillable Word forms (.docx) with real Content Controls (SDT) + legacy FormField checkboxes + MERGEFIELD mail-merge placeholders + document protection. Trigger on: 'fillable form', 'form fields', 'content controls', 'SDT', 'word form', 'fill in', 'only editable fields', 'protect document'…

iOfficeAI/OfficeCLI · 224 tokens

officecli

Create, analyze, proofread, and modify Office documents (.docx, .xlsx, .pptx) using the officecli CLI tool. Use when the user wants to create, inspect, check formatting, find issues, add charts, or modify Office documents.

iOfficeAI/OfficeCLI · 56 tokens

find-skills

Use when automatically discover, evaluate, and activate community skills when local skills don't cover user needs. Includes credibility scoring and safety checks for complete OpenClaw self-sufficiency.

oyi77/1ai-skills · 39 tokens

ehr-analysis

End-to-end EHR predictive modeling pipeline with PyHealth, covering dataset loading, task definition, model training, evaluation, calibration, and clinical interpretation.

zongtingwei/Bioclaw_Skills_Hub · 33 tokens