agentleFS
t0ddharrist0ddharris/claude-code-skills/.claude/skills/brief/SKILL.md

brief

Skill2 starsChanged 5 months agoMITView on GitHub

/brief - Write session brief, commit, and push. Run at end of session to checkpoint all work.

  • Reads credentials
  • Commits and pushes

44 other projects use a version of this, 1 of them edited.

Adopted by

Most recently taken up by

Used with

Projects with it also use studio, typography 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.
  • claude-worldSkill

    studio

    Claude World Studio CLI - full command reference for all CLI operations

    Also in 3 projects that use this

  • Dragoon0xSkill

    typography

    Generate a type scale token file (CSS variables, tailwind config, or JS module) anchored on the type ratio detected by /scan. Use when the user wants to formalize their typography system, extract a scale from existing code, or scaffold typography tokens. Defaults to dry-run preview; pass --apply to write. Auto-picks format based on stack: tailwind for tailwind projects, JS module for JS-heavy stacks, CSS variables otherwise. Run as `node ~/.claude/skills/dragoon/skills/typography/scripts/typography.js`.

    Also in 3 projects that use this

  • SentrySkill

    analytics

    Instrument and discover analytics events in Sentry's frontend UI. Use when adding tracking to buttons, pages, modals, or custom interactions, when defining new analytics events, when searching for existing events, when auditing analytics coverage for a feature, or when answering questions about how users interact with a feature. Trigger on "add analytics", "track event", "instrument analytics", "analytics event", "track click", "track page view", "add tracking", "what events exist for", "audit analytics", "how many people", "how many users", "are people using", "is anyone clicking", "usage of", "who is using".

    Also in 4 projects that use this

  • itsjwillSkill

    capture

    Save important context to persistent memory for future sessions.

    Also in 3 projects that use this

  • genomewalkerSkill

    checkpoint

    Save a checkpoint of task status, decisions, active files, and next steps

    Also in 4 projects that use this

  • raven-souravSkill

    ingest

    Also in 4 projects that use this

The file

Show its rules and text

We split this skill into the rules it gives an agent

18 rules. 0 are common, 11 are distinctive, and 7 are very specific to this project.

  • 0

    Common

    Most of the 41 edited versions we read keep these.

  • 11

    Distinctive

    This author's own choices. Worth a look.

  • 7

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  • could be automatic: a setting could enforce it
  1. Distinctive:

    Run this at the end of a session to capture context and checkpoint all work to GitHub.

    line 9
  2. Very specific:

    Read brief/session-brief.md to understand what was there from last session.

    line 15
  3. Very specific:

    After writing the brief, run the reflect skill to scan the conversation for learnings.

    line 32
  4. Distinctive:

    If learnings are found: present them to the user alongside the brief, before asking about git

    line 34
  5. Distinctive:

    If no learnings: report "no new skill learnings detected" in one line and continue to Step 3

    line 35
  6. Very specific:

    If the project has an .agents/ directory, run the sync-skills skill with project scope (no prompt) so .agents/skills/ mirrors …

    line 40
  7. Distinctive:

    After writing the brief, always ask the user which option they want:

    line 44
  8. Distinctive:

    Run git status to see all changes (staged + unstaged + untracked)

    line 54
  9. Distinctive:

    Run git log --oneline -3 to match commit message style

    line 55
  10. Very specific:

    Commit with message format: Session [N]: [1-2 sentence summary of session work]

    line 57
  11. Distinctive:

    If option 1, push to origin: git push

    line 58
  12. Very specific:

    Do NOT stage files that look like secrets (.env, credentials, tokens)

    line 61
  13. Distinctive:

    If there are uncommitted changes unrelated to this session, ask the user before including them

    line 62
  14. Distinctive:

    If push fails (e.g., remote is ahead), stop and ask the user — do not force push

    line 63
  15. Distinctive:

    When important decisions have been made

    line 68
  16. Distinctive:

    Before ending a session where critical details might be lost

    line 69
  17. Very specific:

    When the user explicitly requests /brief

    line 70
  18. Very specific:

    When asked to "read the brief" (typically at session start via /start), just read the file without modifying it.

    line 74

“Common” is measured: kept by at least 6 in 10 of the 41 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

Session Brief

Run this at the end of a session to capture context and checkpoint all work to GitHub.

Steps

1. Review Existing Brief

Read brief/session-brief.md to understand what was there from last session.

2. Write the New Brief

Overwrite brief/session-brief.md with a comprehensive brief covering:

  • Date, time, and session number at the top — run date "+%A %Y-%m-%d %H:%M %Z" to get the real date, day of week, and local timezone rather than guessing (LLMs are unreliable at computing the day of the week, especially for future dates)
  • Important progress made in the current session
  • Key decisions and architectural changes
  • Unfinished tasks and next steps
  • Technical details that need to be preserved
  • Any context that would be lost between sessions

This is NOT about brevity — be as thorough as needed to retain all important context.

2.5. Reflect on Skills

After writing the brief, run the reflect skill to scan the conversation for learnings. This is a delegation, not a repeat of the reflect instructions. Load and follow the reflect skill.

  • If learnings are found: present them to the user alongside the brief, before asking about git
  • If no learnings: report "no new skill learnings detected" in one line and continue to Step 3
  • Any approved skill updates will be committed together with the brief in Step 4

2.7. Sync Skills (opt-in projects only)

If the project has an .agents/ directory, run the sync-skills skill with project scope (no prompt) so .agents/skills/ mirrors .claude/skills/ before committing. Only mention it if something was added or removed. If there is no .agents/ directory, skip silently — never create one.

3. Ask About Git

After writing the brief, always ask the user which option they want:

  1. Commit + push — full checkpoint to GitHub
  2. Commit only — local save point, push later
  3. Brief only — just the file update, no git operations

Present these as a quick choice. Do NOT assume commit+push.

4. If Committing (options 1 or 2)

  1. Run git status to see all changes (staged + unstaged + untracked)
  2. Run git log --oneline -3 to match commit message style
  3. Stage all relevant files (git add — use specific paths, not -A)
  4. Commit with message format: Session [N]: [1-2 sentence summary of session work]
  5. If option 1, push to origin: git push

Commit rules:

  • Do NOT stage files that look like secrets (.env, credentials, tokens)
  • If there are uncommitted changes unrelated to this session, ask the user before including them
  • If push fails (e.g., remote is ahead), stop and ask the user — do not force push

When to Use

  • At the end of significant sessions
  • When important decisions have been made
  • Before ending a session where critical details might be lost
  • When the user explicitly requests /brief

Read-Only Mode

When asked to "read the brief" (typically at session start via /start), just read the file without modifying it. Do not commit or push in read-only mode.

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.