cursor-transcript-harvest
Skill2 starsChanged 40 days agoMITView on GitHub
Harvest Cursor, Grok Build, Kilo, and Cline agent transcripts into agent-prompt-tuning-lab: pnpm harvest:all, seed-manifest, env vars, and gold tagging. Use when collecting or re-indexing local agent JSONL for this repo.
In this repository49 other files it gives its agents.
- AGENTS.mdAGENTS.md
- adversarial-auditSkill
- agentic-reactorSkill
- agent-orchestratorSkill
- ai-optimizationSkill
- architecture-synthesisSkill
- audit-allow-buildsSkill
- audit-ide-dependenciesSkill
- author-workflow-skillSkill
- bdd-strategizerSkill
- chrome-extension-mv3Skill
- concurrent-cli-agentsSkill
- control-feederSkill
- control-graphSkill
- cv-promote-guardSkill
- devcontainer-hardenedSkill
- dual-copy-skill-publishSkill
- explore-repo-readonlySkill
- finder-reactorSkill
- fix-dependency-securitySkill
- fusion-sageSkill
- git-worktreesSkill
- grok-host-prepSkill
- gt-flowSkill
- higher-order-decision-architectSkill
- looperSkill
- master-plannerSkill
- mvu-refactor-planSkill
- odysseus-navigatorSkill
- project-editor-profileSkill
- react-client-expertSkill
- semantic-markup-cssSkill
- semantic-nameSkill
- session-unit-orderSkill
- shell-kernel-ontologySkill
- skill-rename-propagationSkill
- split-to-prsSkill
- src-tree-reorganizeSkill
- stellar-roadmapSkill
- stellar-spacemapSkill
- subagent-delegationSkill
- subagent-explore-reportSkill
- supply-chain-hardenSkill
- tauri-agenticSkill
- tauri-ipc-debugSkill
- tidy-commit-pushSkill
- upgrade-packagesSkill
- verification-cockpitSkill
- x-agent-resourcesSkill
The file
We split this skill into the rules it gives an agent
3 rules. About 0 are common, 0 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 11
Run on the host where agent data lives (~/.cursor/projects, ~/.grok/sessions, VS Code/Cursor globalStorage), not inside a devcontainer-only …
- Very specific: line 63
Prefer distill for workflow/skill/rule drafts (docs/DISTILL.md).
- Very specific: line 67
Do not commit data/raw, data/processed, data/distill, zips, or data/manifest.jsonl.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Agent transcript harvest
Run on the host where agent data lives (~/.cursor/projects, ~/.grok/sessions, VS Code/Cursor globalStorage), not inside a devcontainer-only shell unless harvesting those paths.
Full harvest → distill
cd /path/to/agent-prompt-tuning-lab # repo root
pnpm harvest:all
pnpm normalize # --source all
pnpm split
pnpm rhai-host:build
pnpm distill-sessions -- --pilot --llm grok
pnpm distill-workflows -- --run-dir data/distill/<run-id>
# review drafts/, then:
pnpm install-distill -- --run-dir data/distill/<run-id> --profile personal-skillsharvest:all = Cursor host --all --unpack + devcontainer unpack + Grok/Kilo/Cline convert+unpack.
Cursor subagent files land at:
data/raw/host/<YYYYMMDD>/<workspace-slug>/<parent-session-id>/subagents/<subagent-id>.jsonl
Grok/Kilo/Cline land under data/raw/{grok,kilo,cline}/… as Cursor-shaped JSONL. See docs/AGENT_SOURCES.md.
Selective harvest
pnpm harvest:cursor
pnpm harvest:agents
pnpm harvest:grok
pnpm harvest:kilo
pnpm harvest:cline
pnpm harvest:host -- --all --unpack
CURSOR_REPO_NAMES=my-app,other-repo pnpm harvest:host -- --unpack
pnpm harvest:devcontainer -- --unpack| Variable | Purpose |
CURSOR_PROJECTS_HOST | Override ~/.cursor/projects |
CURSOR_REPO_NAMES | Comma-separated slug fragments |
CURSOR_TRANSCRIPTS_DEVCONTAINER | Override devcontainer transcripts path |
GROK_SESSIONS_ROOT | Override ~/.grok/sessions |
KILO_TASKS_ROOT | Override Kilo tasks/ directory |
CLINE_TASKS_ROOT | Override Cline/Roo tasks/ directory |
After harvest
pnpm seed-manifest— usually auto-run after unpack; appends manifest rows (parent_session_idfor subagents;agentfrom sidecars).pnpm normalize— default--source all. Usepnpm normalize:hostfor Cursor-only.- Optional gold tags:
pnpm tag-manifest -- --tag gold --session-id <uuid>. - Prefer distill for workflow/skill/rule drafts (docs/DISTILL.md).
Privacy
Do not commit data/raw, data/processed, data/distill, zips, or data/manifest.jsonl. See .cursor/rules/data-privacy.mdc.
Legacy: insights / suggest-artifacts
Secondary path (histograms + bundle drafts): pnpm insights, then node scripts/suggest-artifacts.mjs --bundle personal --llm grok, review, --apply, then node scripts/install-artifacts.mjs --target <repo> --bundle personal. Skip niche ideas — see docs/DEFERRED_SKILLS.md.
Reference
- docs/PIPELINE.md
- docs/DISTILL.md
- docs/AGENT_SOURCES.md
- docs/GOLD_SESSIONS.md
- docs/DEFERRED_SKILLS.md
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
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.

