agentleFS
jamestyhurstjamestyhurst/agent-skills/wrap/SKILL.md

wrap

Skill2 starsChanged 48 days agoMITView on GitHub

Close out a session by writing one short, evidence-based log entry, then running whatever wrap-up duties the current project already asks for (a changelog note, a push, a handoff doc). Use when you say you're wrapping up, finishing, stopping for now, or ask to close out / log the session. Also fine to run unprompted at a natural end of substantial work.

45 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use start, update and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • AnthropicSkill

    start

    Set up your bio-research environment and explore available tools. Use when first getting oriented with the plugin, checking which literature, drug-discovery, or visualization MCP servers are connected, or surveying available analysis skills before starting a new project.

    Also in 5 projects that use this

  • AnthropicSkill

    update

    Sync tasks and refresh memory from your current activity. Use when pulling new assignments from your project tracker into TASKS.md, triaging stale or overdue tasks, filling memory gaps for unknown people or projects, or running a comprehensive scan to catch todos buried in chat and email.

    Also in 3 projects that use this

  • LangChainSkill

    remember

    Review the current conversation and capture valuable knowledge — best practices, coding conventions, architecture decisions, workflows, and user feedback — into persistent memory (AGENTS.md) or reusable skills. Use when the user says: (1) remember this, (2) save what we learned, (3) update memory, (4) capture learnings.

    Also in 3 projects that use this

  • termdockSkill

    recall

    Retrieves cross-session memories about past decisions, lessons, and patterns. Use when user asks about prior work, past decisions, or mentions a feature. Triggers include check memory, what did we decide, how did we solve.

    Also in 3 projects that use this

  • Microsoft AzureSkill

    build

    Build the TypeSpec Rust emitter from source. Run this after cloning the repo, after pulling changes, or when TypeScript source files have been modified.

    Also in 3 projects that use this

  • SentrySkill

    review

    Fixture review skill.

    Also in 7 projects that use this

  • +1 more from anthropics

The file

We split this skill into the rules it gives an agent

3 rules. 0 are common, 2 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 40 edited versions we read keep these.

  • 2

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    If you already run a mastery-tracking system of your own (a skill-level dashboard, a learning log with its own format), point LOG there …

    line 31
  2. Distinctive:

    If nothing qualifies, say so in one line — *"nothing here the log would want as evidence.

    line 62
  3. Distinctive:

    Never wire this skill — or the backup it offers — to a scheduled task or cron job.

    line 126

“Common” is measured: kept by at least 6 in 10 of the 40 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

/wrap

A session that produces real learning or a real decision is easy to lose — it lives in chat scrollback and is gone the moment the window closes. This skill's whole job is turning that into one short, durable, append-only log entry, then handing off to whatever else the project itself wants done at session end.

The log is an evidence base, not an activity record. Its point is letting a later review argue "here's what I can actually do unaided" from cited fact instead of vibes. A padded entry is worse than a missing one — it inflates the evidence base with work that proves nothing. A session that produced nothing worth citing gets no entry.

Configure once for your setup

This skill ships with sane defaults; edit the block below (or just tell the agent your own paths the first time you use it) to match how you actually organize things.

LOG:      "./docs/session-log/YYYY-MM.md"     # default: one Markdown file per month, in-repo
CONCEPTS: null                                 # optional: a folder of durable concept notes, if you keep one
DASHBOARD: null                                # optional: a "current skill level" summary, if you keep one — this skill never writes to it

If you already run a mastery-tracking system of your own (a skill-level dashboard, a learning log with its own format), point LOG there instead and skip the default shape below in favor of yours — the mechanism (decide → write → hand off → backup) is what this skill actually provides.

The loop

wrap():
    1. decide whether this session earned an entry
    2. if yes: write it   (ask for the assistance level; never infer it)
    3. hand off to the project's own wrap-up duties
    4. offer a backup, if you have a backup routine configured

1. Does this session earn an entry?

earns_entry(session):
    return any([
        a concept was taught, extended, or newly met,
        you made a design or architectural call worth citing later,
        you caught something — a drift, a wrong premise, a bad assumption,
        a skill area was exercised in a way the log cannot already show,
        work shipped that a future review would want as evidence,
    ])

# NOT sufficient on their own: files were edited, tests passed, a version was bumped,
# a long session happened. Activity is not evidence.

If nothing qualifies, say so in one line — "nothing here the log would want as evidence; skipping the entry" — and go to step 3. That's a normal outcome, not a failure.

2. Write the entry

Append to the current period's log file (creating it if this is its first entry). Append only — never edit a past entry to revise a rating in hindsight; if a rating was wrong, a later entry or a separate review process corrects it, on the record.

## YYYY-MM-DD — <short title>

**Project:** <project>. **Session type:** interactive | autonomous.

**What happened:** <2-5 sentences. Concrete: name the files, the fork, the decision.
Write it for a reader six months out who has none of this context.>

**Concepts exercised:** `<slug>` (new | extended — <the delta>), ... | none.

**Assistance level:** <0-5> — <why that number>. Scale:

| Level | Name | Meaning |
|---|---|---|
| 0 | None | Book, docs, trial-and-error, your own reasoning — no AI involved. |
| 1 | Ask | Asked an AI a question, then did the work yourself. |
| 2 | Copy-paste | Took AI output (a command, a snippet, a paragraph) and adapted it. |
| 3 | IDE-assisted | Inline AI suggestions in the editor while you drove the file. |
| 4 | Agentic, supervised | Handed to an agent harness and watched it work. |
| 5 | Agentic, unattended | The harness ran while you were away. |

**Note for a future review:** <candidate evidence, named as candidate — never a rating
you're asserting as final. A separate review process, if you keep one, does the ruling.>

Ask for the assistance level — don't infer it. Polish is not evidence of independence; a clean result can come from level 1 or level 5, and the whole scale is worthless if a session just guesses. One question:

"What assistance level was this for you — 0 none, 1 asked, 2 copy-paste, 3 IDE-assisted, 4 agentic supervised, 5 agentic unattended?"

Work produced inside the current agent session is level 4 or 5 by definition (supervised if you were watching, unattended if not) and needs no asking. Ask when the session discussed or reviewed something you built elsewhere.

3. Hand off to the project's own wrap-up duties

This skill owns the session log and nothing else. Read the current project's own README/CLAUDE.md/AGENTS.md (whichever it has) for anything else it asks for at session end — a changelog entry, a version bump, a push, a handoff document for the next session — and do that too. If the project says nothing, the log entry was the whole duty.

4. The backup offer

if you_have_a_backup_routine_configured():
    if anything_changed_this_session() or last_backup_older_than_your_own_threshold():
        offer a backup     # you run it; don't automate this step itself
else:
    say nothing     # no backup routine configured is a normal state, not a gap to nag about

Never wire this skill — or the backup it offers — to a scheduled task or cron job. Automated system-level actions run while nobody's watching them fail; a triggered offer that a human approves each time is the safer shape.

Prohibitions

NEVER write a rating into a dashboard/skill-tracker.       # a separate review step does that
NEVER edit a past log entry. Append.
NEVER infer the assistance level from how polished the work looks.
NEVER write an entry for a session that produced no citable evidence.
NEVER pad an optional field to look thorough — omit what wasn't actually observed.
NEVER automate this on a schedule.

Adopting this

Copy SKILL.md into your agent's skills directory (Claude Code: ~/.claude/skills/wrap/; project-scoped: .claude/skills/wrap/), then fill in the Configure once for your setup block. For agents that read a plain instructions file instead of a skills directory, paste the loop and the entry format into that file directly.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.