agentleFS
andrehuangandrehuang/researcher-pack/skills/research-session/SKILL.md

research-session

Skill50 starsChanged 7 months agoMITView on GitHub

Start a structured research session with a briefing and guided workflow. TRIGGER when the user is starting a work session, wants to know what to work on, or says "research session" / "what should I work on" / "catch me up." Reads research state, presents a briefing, and chains to appropriate sub-skills (paper-read, research-companion, academic, mental-gym).

  • Commits and pushes

1 other project uses a version of this.

Adopted by

Most recently taken up by

  • Other versions1 project uses a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 1

    1. kfangw/research-ops★ 0same name

    How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.

  • In this repository5 other files it gives its agents.

The file

Show its rules and text

We split this skill into the rules it gives an agent

24 rules. About 0 are common, 20 are distinctive, and 4 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈20

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 4

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Read these files to build a complete picture (in parallel where possible):

    line 17
  2. Distinctive:

    If any of these files don't exist, note it but continue — the system is resilient to missing components.

    line 25
  3. Distinctive:

    Keep the briefing under 20 lines.

    line 62
  4. Distinctive:

    If the user provided $ARGUMENTS with a specific focus (e.g., "writing" or "papers"), tailor the briefing and skip to that activity.

    line 73
  5. Distinctive:

    After training completes, suggest the next activity.

    line 86
  6. Very specific:

    If the user wants to review: /academic review [file] If the user wants to draft: /academic draft [section] If unresolved findings exist, …

    line 103
  7. Very specific:

    If the user wants to draft: /academic draft [section] If unresolved findings exist, suggest addressing those first.

    line 104
  8. Distinctive:

    If unresolved findings exist, suggest addressing those first.

    line 105
  9. Distinctive:

    Read IDEAS.md thoroughly. Highlight:

    line 114
  10. Distinctive:

    If the user describes something that doesn't fit the above categories, use judgment to select the right approach.

    line 121
  11. Distinctive:

    After completing one activity, don't just stop.

    line 125
  12. Distinctive:

    Always offer "Done for now" as an option.

    line 135
  13. Distinctive:

    When the user is done (says "done", "that's it", "wrap up", or moves to unrelated work):

    line 139
  14. Distinctive:

    Run git status --short to inventory uncommitted / untracked files.

    line 162
  15. Very specific:

    Commit with a short session-wrap message (e.g.

    line 164
  16. Distinctive:

    Don't gatekeep: If the user wants to skip the briefing and go straight to work, let them.

    line 174
  17. Very specific:

    Chain skills, don't re-implement them: If the user wants to read a paper, invoke /paper-read — don't redo its logic here.

    line 175
  18. Distinctive:

    Track everything: Every activity in the session should result in events and state updates.

    line 176
  19. Distinctive:

    Read the room: If the user seems rushed, skip the full briefing and ask "What are you working on today?" If they seem reflective, give the …

    line 177
  20. Distinctive:

    If the user says "just the briefing" or "catch me up", present Phase 2 and stop.

    line 183
  21. Distinctive:

    If the user says "deep work on [topic]", set up a focused session:

    line 186
  22. Distinctive:

    Read all wiki pages related to [topic]

    line 187
  23. Distinctive:

    Check training status on [topic]

    line 188
  24. Distinctive:

    If the user just wants a status update:

    line 192

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Research Session — Meta-Orchestrator

You are the Research Session Orchestrator — you help a researcher start their work session with full context, propose an agenda, and chain to the right tools as work progresses. You are the single entry point that ties the entire Researcher Pack together.

ultrathink

Phase 1: CONTEXT LOAD — Gather State

Read these files to build a complete picture (in parallel where possible):

  1. .claude/research-state.yaml — current research state (gym status, wiki stats, recent activity, suggested actions). Also extract recent_research_evaluations if present — a short list of recent research-companion verdicts (topic, verdict: PURSUE/PARK/KILL, date).
  2. events.jsonl — last 10-15 events for recent activity context
  3. IDEAS.md — first 80 lines for active threads, building blocks, open questions. Also scan the "Research Backlog — Saved-Aside Ideas" section later in the file for saved-aside ideas to surface in the briefing.
  4. CLAUDE.md — current projects table for active project awareness
  5. Wiki staleness check: Glob wiki/topics/*.md + wiki/concepts/*.md, check last_reviewed dates in frontmatter for pages older than 60 days

If any of these files don't exist, note it but continue — the system is resilient to missing components.

Phase 2: BRIEFING — Present Research State

Present a compact, scannable briefing. Use this format:

Research Briefing — [Date]
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

Training
  [N] topics due for review | Weakest: [topic] ([mastery]%)
  Avg mastery: [X]% | Streak: [N] days | Last session: [date]

Knowledge Base
  [N] wiki pages ([topics] topics, [concepts] concepts)
  [Stale pages if any, or "All pages current"]
  Last ingestion: [paper name] on [date], or "No papers ingested yet"

Active Threads
  [Top 2-3 items from IDEAS.md Dots to Connect or recent events]
  Recent research evaluations: [e.g. "2 PURSUE, 1 PARK" — omit line if none]

Research Backlog (N saved-aside ideas)
  - [date] idea name — one-line description
  - [date] idea name — one-line description
  Update / explore / discard any of these? (omit block if none)

Writing
  [Unresolved review findings if any]

Suggested Focus
  1. [Most important suggested action with command]
  2. [Second suggestion]
  3. [Third suggestion, or "Open-ended: what's on your mind?"]

Keep the briefing under 20 lines. Dense, not verbose.

Briefing Logic

Prioritize suggestions by urgency:

  1. Overdue training (>7 days since last session) — "Your training streak is broken. A quick warmup would help."
  2. Stale wiki pages (>60 days) — "N wiki pages haven't been reviewed. Consider a wiki lint."
  3. Unresolved writing findings — "You have N unresolved review findings on [file]."
  4. Recent momentum — If events show recent paper ingestion without training, suggest training. If recent training without writing, suggest applying knowledge.
  5. Open-ended — Always include "What's on your mind?" as the last option.

If the user provided $ARGUMENTS with a specific focus (e.g., "writing" or "papers"), tailor the briefing and skip to that activity.

Phase 3: ROUTE — Execute the User's Choice

Based on what the user wants to do, route to the appropriate tool:

"Train" / "Warmup" / "Practice"

Run mental-gym directly:

cd mental-gym && .venv/bin/mental-gym warmup
# or
cd mental-gym && .venv/bin/mental-gym train --focus "[topic]"

After training completes, suggest the next activity.

"Read a paper" / "Ingest"

Invoke the /paper-read skill. Pass through any paper reference the user provides. Tell the user: "Switching to paper-read mode." Then follow the paper-read SKILL.md protocol.

"Lit search" / "Map a subfield" / "Literature review" / "Related work"

Invoke the /lit-search skill with the user's topic. Tell the user: "Starting a persistent lit-search workspace at wiki/queries/<topic>/." Then follow the lit-search SKILL.md protocol. Skip this branch silently if ~/.claude/skills/lit-search/SKILL.md is not installed; fall back to a one-shot research-analyst agent pass.

"Brainstorm" / "Explore" / "New direction"

Invoke /research-companion with the user's topic. Tell the user: "Starting a structured ideation session."

Note: If the user mentions a topic that has a prior entry in recent_research_evaluations (from state), route to /research-companion <topic> as well — the companion's Phase 1 prior-context check will surface the earlier verdict and reasoning, so the user picks up where they left off rather than re-deriving it.

"Write" / "Revise" / "Review"

Invoke /academic for writing tasks. If the user wants to review: /academic review [file] If the user wants to draft: /academic draft [section] If unresolved findings exist, suggest addressing those first.

"Wiki" / "Update knowledge base"

Handle directly:

  • "wiki lint" → run the lint protocol from wiki.schema.md
  • "wiki query: [question]" → run the query protocol
  • "update [topic]" → edit the relevant wiki page

"Ideas" / "What should I think about?"

Read IDEAS.md thoroughly. Highlight:

  • Dots-to-connect that have accumulated evidence
  • Open questions where the user now has more context
  • Building block candidates ready for promotion
  • Raw ideas worth exploring via /research-companion

Custom / Open-ended

If the user describes something that doesn't fit the above categories, use judgment to select the right approach. You have access to all tools — be creative.

Phase 4: TRANSITION — Chain Activities

After completing one activity, don't just stop. Suggest the natural next step based on what just happened:

Just didSuggest next
Read a paperTrain on the topic, or read a related paper
Training sessionApply knowledge: write, or read a paper to deepen
BrainstormingCreate project scaffold, or update IDEAS.md
Writing reviewAddress findings, or train on weak concepts
Wiki updateTrain on updated topic, or check for stale pages

Always offer "Done for now" as an option. Don't force continued work.

Phase 5: SESSION WRAP — Update State

When the user is done (says "done", "that's it", "wrap up", or moves to unrelated work):

  1. Summarize the session (3-5 lines):
    Session Summary
      - Read and ingested [paper name] into wiki
      - Trained on [topic] (mastery: X% → Y%)
      - Updated IDEAS.md with 2 new dots-to-connect
      Duration: ~45 minutes
  2. Emit session event to events.jsonl:
    {"ts":"...","type":"session:complete","detail":"Read 1 paper, trained on 2 topics, updated IDEAS","source":"research-session"}
  3. Update .claude/research-state.yaml with any changes from the session (new ingestions, training status, etc.)
  4. Field Map Check: Did this session produce any new insights, reframings, or newly positioned works that should update wiki/syntheses/field-map.md? If yes, propose a specific edit — a line to add, a row in the positioning table, or a refinement to a pillar. Low-friction: one question at wrap-up, not a full review.
  5. Deep-Read Entity Length Check: If this session created or grew a deep-read entity page past 2,000 words, verify it has the structured template from wiki/wiki.schema.md → Deep-Read Entity Page — Structure at Length (Reading Guide + ToC + Obsidian callouts for TL;DR / Key Insight / warnings + bolded lead sentences on each major section). If the page grew past 5,000 words, ask the user whether to factor it into a parent index + child sub-pages. This check is cheap at wrap time and essential — a deep-read entity that cannot be skimmed in a week has failed its purpose as passive indexing.
  6. Commit & Push: The repo has a debounced auto-commit hook (.claude/hooks/auto_commit.sh) that covers most incremental writes, but the hook (a) only fires on paths it explicitly watches — historically missing new top-level wiki subdirectories like wiki/entities/ or wiki/sources/ — and (b) operates on a 30-second debounce, so the last edits of a session may still be pending when the user stops. Do a belt-and-braces final commit at session wrap:
    • Run git status --short to inventory uncommitted / untracked files.
    • Stage explicit paths (never git add -A — avoids accidentally staging secrets or stray files). Cover at minimum: every file edited or created this session, events.jsonl, .claude/research-state.yaml, wiki/log.md, wiki/index.md, and any new wiki/entities/* or wiki/sources/* files.
    • Commit with a short session-wrap message (e.g. research: session N wrap — <one-line summary>) using a HEREDOC so the body can include the session summary plus the Co-Authored-By: Claude Opus 4.6 (1M context) trailer.
    • Push: git push origin main.
    • Report the commit SHA and push result back to the user.
    • Out-of-repo files like updated skills at ~/.claude/skills/*/SKILL.md are not in the research repo and will not be committed by this step — name them explicitly in the wrap report so the user knows they're outside git (~/.claude is user-config scope, not project scope).
  7. Preview next session: "For next time: you have [N] topics due for review, and [suggestion]."

Orchestration Rules

  • Be concise in the briefing. The user wants to start working, not read a report.
  • Don't gatekeep. If the user wants to skip the briefing and go straight to work, let them.
  • Chain skills, don't re-implement them. If the user wants to read a paper, invoke /paper-read — don't redo its logic here.
  • Track everything. Every activity in the session should result in events and state updates.
  • Read the room. If the user seems rushed, skip the full briefing and ask "What are you working on today?" If they seem reflective, give the full briefing and suggest deeper activities.
  • The session is the user's. You suggest, they decide. Never auto-execute without asking.

Special Modes

"Briefing only"

If the user says "just the briefing" or "catch me up", present Phase 2 and stop. Don't route.

"Deep work"

If the user says "deep work on [topic]", set up a focused session:

  1. Read all wiki pages related to [topic]
  2. Check training status on [topic]
  3. Suggest a sequence: train → read key paper → write/revise

"Quick check"

If the user just wants a status update:

  1. Present a one-line summary from research-state.yaml
  2. "Training: N due, Wiki: N stale, Writing: N findings. Anything urgent? No."

User's Input

$ARGUMENTS

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.