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.
tools
Requires Linear MCP. Implements one Linear issue end to end, selects applicable code-review, convention, and PR-refactor gates, runs them to bounded convergence, verifies, and optionally opens the PR and iterates on CI and review feedback until green. Use when the user wants a single Linear issue taken from implementation through a clean Pull Request. Not for implementation-only work, SIW-tracked issues, stacked PRs, existing PR updates, or post-merge rollout.
development
Reviews PR and local changes for convention drift and overcaution against documented rules and mined peer-file practice. Use for new patterns, dependencies, abstractions, or defensive complexity that departs from established practice; every finding cites evidence. Supports --inline. Not for general code quality (use kramme:pr:code-review) or spec review (use kramme:siw:spec-audit --team).
testing
Charts huge or foggy initiatives into a local `.context` decision map and resolves one typed frontier ticket per session until the work is ready for SIW or another execution workflow. Use when the route to a destination cannot fit in one agent session or parallel workspaces need coordinated planning state. Not for clear specs, ordinary issue decomposition, implementation, or Linear-native tracking.
development
Investigates a question against primary sources and saves one cited Markdown artifact. Use for reading legwork: official docs/API facts, source-code or spec checks, standards, and first-party service behavior before planning or implementation. Not for making product or architecture decisions, implementing code, broad web search, secondary blog summaries, or uncited answers.