write-research-doc

write-research-doc is a skill for Claude Code, Codex from eveld/claude. It costs 26 tokens per session (582 once invoked), scanned A, original, MIT.

A skill for documenting research findings in a structured Markdown file with metadata, a research question, conclusions, detailed evidence, and file references. It also follows the project's naming and storage conventions.

In plain words
What is it for?
Use it to record codebase investigations, technical findings, discovered patterns, important references, and research that will guide a future implementation.
Why use it?
It makes research understandable and traceable instead of leaving findings in scattered notes. Linking conclusions to files and implementation patterns helps others use the research later.

Skill for Claude CodeCodex

Part of the workflows plugin — 29 skills, 5 commands, 17 agents shipped together

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/eveld/claude/write-research-doc
Any agent
npx skills add eveld/claude --skill write-research-doc
Clone the repo
git clone --depth 1 https://github.com/eveld/claude

Made for: Claude Code, Codex.

Or install workflows, the plugin that ships this one along with the rest of its 29 skills, 5 commands, 17 agents.

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 write-research-doc

README.md
[![agentmods](https://agentmods.dev/badge/skills/eveld/claude/write-research-doc.svg)](https://agentmods.dev/skills/eveld/claude/write-research-doc)
Your own site
<a href="https://agentmods.dev/skills/eveld/claude/write-research-doc"><img src="https://agentmods.dev/badge/skills/eveld/claude/write-research-doc.svg" alt="Measured on agentmods" height="20"></a>
Per session 26 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 582 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00026 $0.00582
Opus 5 $0.00013 $0.00291
Sonnet 5 $0.00005 $0.00116
Haiku 4.5 $0.00003 $0.00058

Measured 4d ago against content hash d33fecc599ae, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

write-research-doc 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 4d 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.

skills/write-research-doc/SKILL.md · 79 lines

How it starts

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

Write Research Document

Create structured research documents following project conventions.

Document Structure

Use the template from templates/research-document.md:

  1. Frontmatter (YAML):

    • date, researcher, git info, topic, tags, status
    • feature_slug (e.g., "erik/0005-authentication" for personal, "0042-authentication" for shared)
    • Optional: shared_as, shared_date (added by share-docs skill)
  2. Research Question:

    • Original user query verbatim
  3. Summary:

    • High-level findings (2-3 paragraphs)
  4. Detailed Findings:

    • Organized by component/area
    • Include file:line references
    • Explain purpose and implementation
  5. Key Discoveries:

    • Bullet list of important findings
  6. Implementation Patterns:

    • Common patterns found
  7. References:

    • Links to source files and related docs

File Path and Naming

Determine feature slug first using determine-feature-slug skill:

  • Auto-detects namespace from git user.name
  • Auto-detects next number in personal namespace (0001, 0002, etc.)
  • Suggests description from research question
  • Prompts user to accept or customize

Save to: thoughts/{namespace}/NNNN-description/research.md

Example workflow:

  1. User provides research question: "How does authentication work?"
  2. Skill detects namespace: erik (from git config)
  3. Skill suggests: erik/0005-authentication
  4. User accepts or modifies
  5. Document saved to: thoughts/erik/0005-authentication/research.md

Collaboration: Documents start in personal namespace. Use share-docs skill to promote to thoughts/shared/ when ready for team review.

Backward compatibility: Old path thoughts/shared/research/YYYY-MM-DD-NN-description.md still recognized by all commands.

Metadata Collection

Use gather-project-metadata skill to get:

  • Timestamp
  • Git commit and branch
  • Repository name

File References

Always include specific file:line references:

  • src/auth/handler.go:45 - Format for references
  • Use actual line numbers where functions/types are defined

Read the full file on GitHub · 79 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. 4d ago First seen · 79 lines · 26 tokens per session scan A d33fecc599ae

Subscribe to this mod's changes

write-research-doc is a skill published in the GitHub repository eveld/claude (10 stars, last pushed 7mo ago), licensed MIT. It adds 26 tokens to every session and 582 once invoked, about $0.0001 per session on Opus 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-31.

Related

Other skills, from other repositories

code-indexing-pipeline

How Infigraph turns source into a graph — adding a language (tree-sitter vs ANTLR grammar-plugin), cross-file call resolution, SCIP compiler-grade enrichment, and file-watch/reindex triage. Use when adding language support, debugging unresolved calls or SCIP import, or triaging stale index/watcher issues.

intuit/infigraph · 70 tokens

analysis-subsystems

How Infigraph's multi-repo/group mode and taint analysis work internally — HTTP contract extraction heuristics, cross-service edge linking, combined-graph merge, remote mode, plus taint's line-based tracking and sanitizer heuristic. Use when working on crates/infigraph-core/src/multi/ or src/taint/, or investigating…

intuit/infigraph · 80 tokens

review-pr-against-issue

Review one or more PRs against the GitHub issue(s) they claim to fix, including fetching PR branches directly when gh can't reach github.com (e.g. gh is authenticated to an enterprise host instead). Use whenever asked "does this PR fix issue.

intuit/infigraph · 61 tokens

opencli-sitemap-author

Use when creating or maintaining OpenCLI site sitemaps: agent-facing navigation, page-state, action, workflow, API-reference, pitfall, and fallback knowledge for a website. Use after browser exploration discovers durable site context, when a sitemap is stale, or when promoting local site knowledge into the repo.

jackwener/OpenCLI · 67 tokens

golden-rss

Use when testing the rss golden build.

yusufkaraaslan/Skill_Seekers · 12 tokens

overleaf-sync

Two-way sync between a local paper directory and an Overleaf project, so ARIS audit/edit workflows stay on the local copy while collaborators edit in the Overleaf web UI. Use when user says "同步 overleaf", "overleaf sync", "推送到 overleaf", "connect overleaf", "Overleaf 桥接", "pull overleaf", "push overleaf", or wants to…

wanshuiyin/Auto-claude-code-research-in-sleep · 97 tokens