kramme-cc-workflow/skills/kramme:session:automate-repeats/SKILL.md
Reviews recent agent session transcripts to find repeated manual workflows or repeated user asks, then proposes and optionally scaffolds only useful new skills or custom subagents. Use when the user asks to inspect recent sessions, find automation opportunities, or create reusable workflows from repeated work. Not for summarizing one session, general retrospectives, or codebase refactoring.
npx skillsauth add abildtoft/kramme-cc-workflow kramme:session:automate-repeatsInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Find repeated work in recent agent sessions and turn only the practical patterns into simple skills or custom subagents.
kramme:session:search extraction substrate before reading content. Paraphrase evidence unless a short exact phrase is necessary to justify a candidate. Do not copy secrets, customer data, tokens, raw tool payloads, or long user messages into generated files.Before Step 1, parse $ARGUMENTS for --auto. Treat --auto as an alias for --create: remove it from the remaining source arguments and scaffold the selected candidates after the usefulness gate. It does not bypass missing session-source handling or existing-destination protection.
Resolve the shared session-search substrate.
<skills-root> as the skills/ directory containing this skill (this skill lives at <skills-root>/kramme:session:automate-repeats/), then use the scripts at <skills-root>/kramme:session:search/scripts/. The same pattern works in both the source checkout and an installed plugin.discover-sessions.sh, extract-metadata.py, extract-skeleton.py, and extract-errors.py.MISSING REQUIREMENT: kramme:session:search scripts are not installed.Resolve the session source without reading raw transcripts into context.
$ARGUMENTS includes files or directories, validate those exact paths. If an explicitly provided path is missing or unreadable, stop and report it instead of falling back to default stores. Expand directories to readable *.jsonl files and pass the file list to extract-metadata.py.$ARGUMENTS includes --recent N, discover sessions for the current repo, sort metadata by last_ts/ts/mtime, and keep the N most recent readable sessions.REPO_NAME=$(basename "$(git rev-parse --show-toplevel)")
bash <session-search-scripts>/discover-sessions.sh "$REPO_NAME" 30 \
| tr '\n' '\0' \
| xargs -0 python3 <session-search-scripts>/extract-metadata.py --cwd-filter "$REPO_NAME"
UNVERIFIED.Extract safe skeletons into scratch.
.context/session-search/<timestamp>/automate-repeats/.python3 <session-search-scripts>/extract-skeleton.py --output "$SCRATCH/<session-id>.skeleton.txt" < "$SESSION_FILE"
extract-errors.py only for sessions where failed commands appear likely to explain a repeated workflow.Build an inventory of existing automation before proposing anything.
skills/*/SKILL.md, .claude/skills/*/SKILL.md, .agents/skills/*/SKILL.md, kramme-cc-workflow/skills/*/SKILL.md, or any explicit skill directory in the current workspace.agents/*.md, kramme-cc-workflow/agents/*.md, .claude/agents/*.md, or any explicit agent directory in the current workspace.Extract repeated patterns from the safe skeletons.
Classify each candidate.
Apply the usefulness gate.
NOT CREATED with a one-line reason instead of scaffolding them.Present a compact plan before writing files unless the user explicitly requested hands-off creation.
--create or --auto, or confirms the plan, scaffold the selected candidates.Scaffold skills simply.
skills/{skill-name}/SKILL.md when the current workspace's skill root is skills/; use kramme-cc-workflow/skills/{skill-name}/SKILL.md when that plugin layout exists.NOT CREATED with reason already exists.kramme:{domain}:{action} when adding to this plugin-style tree.name, description, disable-model-invocation, and user-invocable; add argument-hint only when useful. Set disable-model-invocation: true for any generated skill with side effects (file writes, git, network, deletion); otherwise false.SKILL.md focused on the workflow. Avoid placeholder docs, READMEs, and large reference files unless the candidate truly needs them.Scaffold subagents simply.
agents/{agent-name}.md when the current workspace's agent root is agents/; use kramme-cc-workflow/agents/{agent-name}.md when that plugin layout exists.NOT CREATED with reason already exists.name, description, model, and color.REVIEWED: session source count and date range if known.CREATED: paths for any new skills or agents.NOT CREATED: rejected repeated ideas with one-line reasons.UNVERIFIED: any session stores, counts, or assumptions that could not be checked.references/sources.yaml records the upstream ce-sessions source for the shared discovery/extraction substrate and routing model. Do not load it during normal use unless auditing or updating source attribution.
development
Runs kramme:pr:code-review as a closeout review loop for local or PR branch changes before commit, ship, or final response. Use when the user asks for autoreview, second-model review, or a final code-review pass after non-trivial edits. Not for UX, visual, accessibility, or product review.
development
Guides topic-level understanding verification for a PR, branch, feature, document, spec, design decision, bug fix, or other concrete subject. Use when the user asks to confirm, quiz, drill, teach-and-check, or verify that they understand a topic. Maintains a topic-specific checklist artifact and requires demonstrated understanding before marking the topic complete. Not for ordinary explanations without verification, end-of-session summaries, or code/test correctness checks.
testing
Design a CI/CD pipeline with quality gates, a <10-minute budget, feature-flag lifecycle, and an exit checklist. Use when adding a new CI pipeline, changing gate configuration, or planning a rollout for a new service. Complementary to kramme:pr:fix-ci (which fixes failures in an existing pipeline). Covers gate ordering, secrets storage, branch protection, rollback mechanism, and staged-rollout guardrails — not a rollout-execution runbook.
tools
--- name: kramme:visual:demo-reel description: Capture local demo evidence for observable product behavior: screenshots, before/after image sets, browser reels, terminal recordings, and short GIF/video proof. Use when shipping UI changes, CLI features, or any change where PR reviewers would benefit from visual or behavioral evidence. argument-hint: "[what to capture] [--url <url>|auto] [--tier static|before-after|browser-reel|terminal-recording]" disable-model-invocation: true user-invocable: tr