capture-docs SKILL.md skillA

capture-docs from fabienjuif/agentic-skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add fabienjuif/agentic-skills/capture-docs@git:20260624.c5daeaa

Pins git:20260624.c5daeaa in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
fabienjuif/agentic-skills
Path
plugins/fabien-skills/skills/capture-docs/SKILL.md
Versions recorded
1
Latest version
git:20260624.c5daeaa, committed Jun 24, 2026
Size
6,226 bytes
Repository stars
3
License
MIT

At the end of a session, capture what was learned into the repo's documentation so it isn't lost and future sessions start cheaper. Use when the user says "capture docs", "save what we learned", "update docs", "sync docs", or runs "/capture-docs", typically when wrapping up. Relies on the conversation already in context plus cheap git signals — it does NOT re-research the codebase. Updates human-facing docs (READMEs, docs/) and AI-facing docs (CLAUDE.md, AGENTS.md), keeping AI docs as pointers…

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# Capture Docs

Capture the knowledge produced in this session into the repo's documentation, so it
survives the session and lowers the token cost of every future one.

Two goals drive every decision here:

1. **Avoid doc drift** — docs should match what the code and the team actually do now.
2. **Make future sessions cheaper** — up-to-date docs that are _referenced_ from
   CLAUDE.md/AGENTS.md mean the next agent reads less to get oriented.

## Core principle: spend no tokens re-researching

The session you just had is the asset. Re-reading the codebase to write docs throws
that away. So:

- **Draw from the conversation already in context** — decisions, gotchas, root causes,
  new patterns, "you must do X before Y" insights. This is the primary source.
- **Use only cheap, deterministic git signals** to find _what_ changed (file names,
  not contents). Never run a broad search or open files just to write a doc.
- **If a doc claim genuinely needs verification against a file you have NOT read this
  session, STOP and ask the user.** Name the exact file and explain why the dig is
  worth the tokens. Only proceed if they agree. Never silently burn tokens digging.

## Workflow
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add fabienjuif/agentic-skills/capture-docs@sha256:a42b84545a79e137

The line at the top of this page pins the label git:20260624.c5daeaa, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_pgd4bsntwgxwwrrq.svg)](https://markdownregistry.com/a/art_pgd4bsntwgxwwrrq)

2 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 1 version of this file, committed on Jun 24, 2026.

versioncommittedcommitsizeaudit
git:20260624.c5daeaa latest2026-06-24 c5daeaa 6,226 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (6226 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

fabienjuif/agentic-skills · 3 stars · license MIT · pushed 2026-10-20 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_pgd4bsntwgxwwrrq
GET https://markdownregistry.com/api/v1/resolve?ref=fabienjuif/agentic-skills/capture-docs
GET https://markdownregistry.com/api/v1/blob/a42b84545a79e13770cfff171fab468dd994143658a3a60737b10bba40d46289

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from fabienjuif/agentic-skills

CLAUDE.md CLAUDE.md file
fabienjuif/agentic-skills · CLAUDE.md
git:20260618.56590b0 · audit A · 3 stars
catch-up SKILL.md skill
fabienjuif/agentic-skills · plugins/fabien-skills/skills/catch-up/SKILL.md · Personal daily catch-up dashboard — gathers, for the configured sources, the Slack messages where you're involved in…
git:20260713.ecc0062 · audit A · 3 stars
close-session SKILL.md skill
fabienjuif/agentic-skills · plugins/fabien-skills/skills/close-session/SKILL.md · Wrap up a work session in one pass — find the issue-tracker tickets the session touched (Linear) and update them, or…
git:20261017.6803000 · audit A · 3 stars
eta SKILL.md skill
fabienjuif/agentic-skills · plugins/fabien-skills/skills/eta/SKILL.md · Report the ETA of what you are currently doing, in one fixed format (progress bar, ETA clock time, per-step table)…
git:20261019.1d12772 · audit A · 3 stars
fix-stale-doc SKILL.md skill
fabienjuif/agentic-skills · plugins/fabien-skills/skills/fix-stale-doc/SKILL.md · Full-repo documentation sweep. Fans out one sub-agent per module / docs subdir / README cluster to (1) fix stale claims…
git:20260718.cfba5c5 · audit A · 3 stars
gitmoji SKILL.md skill
fabienjuif/agentic-skills · plugins/fabien-skills/skills/gitmoji/SKILL.md · Commit the current changes with a gitmoji-prefixed message (https://gitmoji.dev), picking the one gitmoji that matches…
git:20261004.11e6def · audit A · 3 stars
idea SKILL.md skill
fabienjuif/agentic-skills · plugins/fabien-skills/skills/idea/SKILL.md · Quickly capture an idea about the current project into docs/IDEA.md — a "what's next" backlog. Ideas can be anything…
git:20260705.f380f09 · audit A · 3 stars
make-plan SKILL.md skill
fabienjuif/agentic-skills · plugins/fabien-skills/skills/make-plan/SKILL.md · Produce a plan for a non-trivial task as a self-contained docs/plans/<name>/ directory (CLAUDE.md, README.md…
git:20260618.56590b0 · audit A · 3 stars
pr-review SKILL.md skill
fabienjuif/agentic-skills · plugins/fabien-skills/skills/pr-review/SKILL.md · Review a pull request and post ONE consolidated review comment that updates in place across re-reviews — each pass…
git:20260625.6630199 · audit A · 3 stars
tmp-cleanup SKILL.md skill
fabienjuif/agentic-skills · plugins/fabien-skills/skills/tmp-cleanup/SKILL.md · Free memory by deleting stale artefacts from the temp dir (/tmp is often tmpfs, so it lives in RAM). Use when the user…
git:20261009.60762ca · audit A · 3 stars

Every file in fabienjuif/agentic-skills

Browse by kind, by grade A, or by owner.