ai-rules-sync: Skill for Claude Code

.claude/skills/summarize-session/SKILL.md

summarize-session is a skill for Claude Code from lbb00/ai-rules-sync. It costs 22 tokens per session (669 once invoked), scanned A, original, Unlicense.

A workflow for reviewing a coding session and turning reusable lessons into Claude Code rules, skills, or commands. These are files that guide future coding sessions or automate repeated actions.

In plain words
What is it for?
Use it to identify coding standards, recurring workflows, build or deployment commands, and other patterns worth saving for later.
Why use it?
It helps preserve useful decisions, fixes, and workflows after a session ends.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: reads .claude/ paths; mentions Claude Code.

This is lbb00/ai-rules-sync's own configuration. It tells Claude Code how to work on ai-rules-sync itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything ai-rules-sync configures →

Reuse

Borrowing it

Nothing to install: this file belongs to lbb00/ai-rules-sync. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/lbb00/ai-rules-sync/main/.claude/skills/summarize-session/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/lbb00/ai-rules-sync

Made for: Claude Code.

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 summarize-session

README.md
[![agentmods](https://agentmods.dev/badge/skills/lbb00/ai-rules-sync/summarize-session/github.svg)](https://agentmods.dev/skills/lbb00/ai-rules-sync/summarize-session)
Your own site
<a href="https://agentmods.dev/skills/lbb00/ai-rules-sync/summarize-session"><img src="https://agentmods.dev/badge/skills/lbb00/ai-rules-sync/summarize-session/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 summarize-session

Your own site · 80×15
<a href="https://agentmods.dev/skills/lbb00/ai-rules-sync/summarize-session"><img src="https://agentmods.dev/badge/skills/lbb00/ai-rules-sync/summarize-session.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 22 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 669 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00022 $0.00669
Opus 5.5 $0.00009 $0.00268
Sonnet 5.5 $0.00004 $0.00134
Haiku 4.5 $0.00002 $0.00067

Measured 1mo ago against content hash 69ca8d8a115b, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

summarize-session 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 1mo 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.

.claude/skills/summarize-session/SKILL.md · 135 lines

How it starts

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

Summarize Session

Purpose

At the end of a productive coding session, analyze the conversation to extract reusable patterns and generate Claude Code artifacts (rules, skills, commands) that can accelerate future work.

Instructions

  1. Review Session Activity

    • What problems were solved?
    • What code was written or modified?
    • What workflows were performed?
    • What decisions were made and why?
  2. Identify Patterns

    Rules Candidates (coding standards, project conventions):

    • Repeated code style corrections
    • Error patterns that were fixed
    • Best practices established
    • Project-specific conventions

    Skills Candidates (multi-step workflows):

    • Complex operations performed multiple times
    • Sequences of commands that go together
    • Integration or deployment workflows
    • Testing or validation procedures

    Commands Candidates (single-action shortcuts):

    • Frequently used command combinations
    • Build/test/deploy shortcuts
    • Common git operations
    • Project-specific utilities
  3. Generate Artifacts

    For each identified pattern, create the appropriate artifact:

    Rules → .claude/rules/<name>/RULE.md

    ---
    name: rule-name
    description: Brief description
    ---
    
    # Rule Name
    
    ## When to Apply
    ...
    
    ## Guidelines
    ...
    

    Skills → .claude/skills/<name>/SKILL.md

    ---
    name: skill-name
    description: Brief description
    ---
    
    # Skill Name
    
    ## Instructions
    1. Step 1
    2. Step 2
    ...
    

    Commands → .claude/commands/<name>.md

    # Command Name
    
    Description of what this command does.
    
    ## Steps
    1. ...
    2. ...
    
  4. Validate Artifacts

    • Ensure artifacts are general enough to be reusable
    • Remove session-specific details
    • Test that instructions are complete and actionable
  5. Document Session Summary

    • What was accomplished
    • What artifacts were generated
    • Recommendations for next session

Read the full file on GitHub · 135 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. 1mo ago First seen · 135 lines · 22 tokens per session scan A 69ca8d8a115b

Subscribe to this mod's changes

summarize-session is a skill published in the GitHub repository lbb00/ai-rules-sync (40 stars, last pushed 2mo ago), licensed Unlicense. It adds 22 tokens to every session and 669 once invoked, about $0.0001 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-08-30.

Related

Other skills, from other repositories

authoring-skills-and-rules

Author Skills (SKILL.md) and rules/instructions across Claude Code, Cursor, OpenCode, Codex, and GitHub Copilot. Covers frontmatter, file layout, activation, mirroring, and craft: progressive disclosure, Apply-when descriptions, leading words, playbook steps copied into todos, skip reasons, the deletion test, and…

afaraha8403/balakit · 163 tokens

karpathy-guidelines

Tool-agnostic behavioral guidelines for AI coding assistants. Use when writing, reviewing, debugging, or refactoring code to reduce overengineering, surface ambiguity, make surgical changes, and define verifiable success criteria.

Vincent-A-Yang/karpathy-skills-anycoding · 47 tokens

skill-memory

Use skill-memory to download, view and edit agent skills in memory. TRIGGER by 'skill', 'memory', 'learn'.

memodb-io/skill-memory · 29 tokens

spec-driven

Structured planning pipeline with 4 adaptive phases (Specify, Design, Tasks, Execute) and persistent knowledge accumulation for development teams. Auto-sizes depth by complexity from quick fixes to multi-component features. Commands: /explore (understand problem + map context), /plan (write spec → design → tasks)…

90sRehem/agent-skills · 241 tokens

valyu-best-practices

Complete Valyu API toolkit for AI agents. Use this skill when asked to perform real-time search across web, academic, medical, transportation, financial sources, content extraction from URLs, AI-powered answers with citations, or comprehensive deep research reports.

valyuAI/skills · 55 tokens

idea-refine

Refines raw ideas into sharp, actionable concepts through structured divergent and convergent thinking. Use when an idea is still vague, when you need to stress-test assumptions before committing to a plan, or when you want to expand options before converging on one. Triggers on "ideate", "refine this idea", or…

addyosmani/agent-skills · 75 tokens