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.5 $0.00031 $0.00219
Sonnet 5.5 $0.00015 $0.00110
Haiku 4.5 $0.00008 $0.00055

Measured 3mo ago against content hash c34672c9eb67, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 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.

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. 3mo 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 (11 stars, last pushed 14d ago), licensed MIT. It adds 77 tokens to every session and 548 once invoked, about $0.0003 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-09-03.

Related

agent-skill-lifecycle compared with skills from other repositories

agent-skill-lifecycle next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
agent-skill-lifecycledavidtoby/agent-skillsSkill1114d agoMITA77Claude Code, Codex
officecli-pitch-deckiOfficeAI/OfficeCLISkill34k3d agoApache-2.0A163Claude Code, Codex
morph-pptiOfficeAI/OfficeCLISkill34k3d agoApache-2.0A169Claude Code, Codex
officecli-academic-paperiOfficeAI/OfficeCLISkill34k3d agoApache-2.0A141Claude Code, Codex
officecli-pptxiOfficeAI/OfficeCLISkill34k3d agoApache-2.0A106Claude Code, Codex
officecliiOfficeAI/OfficeCLISkill34k3d agoApache-2.0A56Claude Code, Codex
morph-ppt-3diOfficeAI/OfficeCLISkill34k3d agoApache-2.0A37Claude Code, Codex