research-doc
Write a self-contained, template-conformant research document with Chain-of-Verification grounding, adversarial review, live citation validation, a provenance…
Skill by sergeiwallace
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/sergeiwallace-research-doc
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: documents, writing, research
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
- Runs as
- Python package
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/research-doc
What's inside
- Skill name
research-doc- Description
- Write a self-contained, template-conformant research document with Chain-of-Verification grounding, adversarial review, live citation validation, a provenance ledger, and claim-tier tags. Use for a scoped "research X and write it up" request, inline or through an installation-provided research adapter.
- License
- Apache-2.0
- Instructions
- 196 lines in SKILL.md · view on GitHub
Before installing
- Ships executable scripts
Files (4)
- SKILL.md
- research_doc_resolve.py · scripts/
- DOC-STUB.md · templates/
- PROMPT-TEMPLATE.md · templates/
SKILL.md (first lines)
# research-doc
Write a research document using the bundled prompt template and document stub. The methodology
prioritizes factual grounding over coverage: adversarial critics, live citation validation,
claim-to-quote-to-verdict provenance, Chain-of-Verification (CoVe), and explicit claim tiers.
## Invocation and optional integrations
**Usage:** `/research-doc <topic | path-to-research-doc> [--model <model-preference>] [--inline] [--refine]`
- `--inline` writes the document in the driving session. It is always available and is the default
when no delegation adapter is configured.
- `--model` records a model preference for the current environment or its optional delegation
adapter. Use only a value supported by that installation.
- `--refine` updates an existing document. For a bare topic, first look for a substantively related
document in the project locations available to the current installation; refine it instead of
creating a near-duplicate when one exists.
Before authoring, this bundled resolver can validate the documented options and emit their JSON
envelope. It performs no research, routing, or file creation:
```sh
uv run --script "${CLAUDE_SKILL_DIR}/scripts/research_doc_resolve.py" \
"<topic-or-path>" [--model <model-preference>] [--inline] [--refine]
```
### Optional tracking adapter
Tracking is optional and never blocks research. To connect an installation's tracker, set
`RESEARCH_DOC_TRACKING_ADAPTER` to the absolute path of a project-owned executable. Invoke it only
when configured, after the research document is prepared or returned:
```sh
"$RESEARCH_DOC_TRACKING_ADAPTER" \
--topic "<topic>" --document "<document-path>" --mode "author|refine"
```
When the variable is unset, skip tracking silently. If a configured adapter fails, report that
failure separately without discarding or blocking the research document.
### Optional delegation adapter
An installation may set `RESEARCH_DOC_DELEGATION_ADAPTER` to an absolute path for its own
delegation route. This skill does not prescribe a provider or command. A delegated researcher must
be able to search and fetch sources, receive the complete assembled prompt, apply the retrieval and
provenance rules below, and write the named document target.
Invoke the adapter only when it is configured and inline authoring was not requested. Give it the
topic, existing document target, assembled prompt, selected model preference, and mode; for example:
```sh
"$RESEARCH_DOC_DELEGATION_ADAPTER" \
--topic "<topic>" --target "<document-path>" --prompt-file "<assembled-prompt-file>" \
--model "<model-preference>" --mode "author|refine"
```
The adapter is outside this skill and must not weaken the prompt or output checklist. If it is
unset, author inline. If it fails, report its failure and use inline authoring rather than assuming
another route exists.
## Find or scaffold the document
For a bare topic, search the current project and any project locations your installation makes
available for `docs/research/*.md` titles, tags, filenames, and content. Refine a substantively
related document in place; otherwise create a new `docs/research/<slug>.md` in the project that
owns the topic.
Always scaffold a new document from the bundled stub, never from a blank file:
```sh
cp "${CLAUDE_SKILL_DIR}/templates/DOC-STUB.md" "docs/research/<slug>.md"
```
Fill the frontmatter and write in the stub's required section order. The bundled prompt template is
`${CLAUDE_SKILL_DIR}/templates/PROMPT-TEMPLATE.md`; open both bundled files from disk at the start
of every run rather than relying on a cached conversation copy. The stub supplies the document
structure, region markers, table-of-contents discipline, and the required research-prompt appendix.
If your project has an equivalent convention for document ownership, landing worktree changes, or
tracking progress, follow it. Such conventions are optional integrations, not prerequisites for
this research workflow.
## Capabilities and method
Use native `WebSearch` and `WebFetch` tools when they are available. Otherwise use the search and
fetch capability provided by the current environment. The tool names may differ, but the retrieval,
validation, and provenance requirements below do not.
### 1. Assemble the prompt from the bundled template
Open `${CLAUDE_SKILL_DIR}/templates/PROMPT-TEMPLATE.md` and reproduce in full every block it marks
mandatory. Tailor only its open placeholders, such as role identity, temporal window, topic, and
questions. A prompt that merely points a researcher at a file is insufficient: inline and delegated
research alike must physically contain the CoVe anchor, temporal guidance, tier and citation rules,
independent-exploration block, retrieval-enforcement directives, and appendix format.
### 2. Researcher fan-out and retrieval floor
Use at least three distinct search framings: mainstream or consensus, contrarian or minority,
adjacent-field, and recency-first when the topic is current. Search, fetch the most relevant pages,
cross-reference each load-bearing claim across independent sources, and pursue disconfirming and
adjacent evidence. Continue until coverage is adequate, not until the first defensible source.
Never conclude a section with zero retrieval. If a claim would come from memory, search or fetch
first. Fetch at least one live source for every load-bearing claim tagged `[VERIFIABLE]`.
### 3. Adversarial critic pass
After drafting, run explicit passes from five perspectives:
1. **conventional** — does it align with or contradict mainstream consensus?
2. **contrarian** — what are the strongest counterarguments or minority positions?
3. **historical** — what prior art or earlier solutions are missing?
4. **adjacent** — what can neighboring fields add?
5. **skeptic** — demand evidence for every claim; every finding without a direct citation is suspect.
Record high, medium, and low findings. Resolve or explicitly concede every high and medium finding.
Run another round when critics find high-severity gaps or the draft barely grows.From sergeiwallace/skills, Apache-2.0.
More from sergeiwallace/skills
- 0.529score
graphic
sergeiwallace
Provider-neutral pipeline for small graphic assets (icons, favicons, simple marks) — inspect/brief, route to reuse or constrained SVG primitives…
SkillBFreshness: BClaude Code +9 - 0.529score
meeting-analysis
sergeiwallace
Turn a zip or directory of meeting sources (recording, vendor transcript, notes export) into a template-conformant analysis doc.
SkillBFreshness: BClaude Code +9 - 0.526score
explain
sergeiwallace
Build a grounded mental model of a design or plan document, issue, code target, or technical concept.
SkillBFreshness: BClaude Code +9 - 0.526score
report-feedback
sergeiwallace
Prepare privacy-scoped bug reports or feature requests for public GitHub and authenticated Claude Code feedback, with an explicit human gate before any GitHub…
SkillBFreshness: BClaude Code +9 - 0.526score
sync-git
sergeiwallace
Safely synchronize safe uncommitted work and local/remote branch state across selected repositories and worktrees; discard and gitignore recommendations…
SkillBFreshness: BClaude Code +9 - 0.523score
presentation
sergeiwallace
Author a local, review-gated Slidev presentation from a normalized event brief and optional research.
SkillBFreshness: BClaude Code +9 - 0.521score
summarize
sergeiwallace
Faithfully compress caller-selected documents, issues, code, topic packets, or explicit session batches for a declared reader and purpose.
SkillBFreshness: BClaude Code +9 - 0.518score
jira
sergeiwallace
Jira operations — create issues, search, update, link, comment, sprint overview
SkillBFreshness: BClaude Code +9 - 0.518score
spec
sergeiwallace
Present an implementation plan for review before making changes
SkillBFreshness: BClaude Code +9 - 0.510score
clean-task-panel
sergeiwallace
Remove all completed tasks from the CC TUI task panel.
SkillBFreshness: BClaude Code +9
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Sep 10, 2026 (1 month ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- Apache-2.0
- Repository
- github.com/sergeiwallace/skills
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from sergeiwallace
- 0.529score
graphic
sergeiwallace
Provider-neutral pipeline for small graphic assets (icons, favicons, simple marks) — inspect/brief, route to reuse or constrained SVG primitives…
SkillBFreshness: BClaude Code +9 - 0.529score
meeting-analysis
sergeiwallace
Turn a zip or directory of meeting sources (recording, vendor transcript, notes export) into a template-conformant analysis doc.
SkillBFreshness: BClaude Code +9 - 0.526score
explain
sergeiwallace
Build a grounded mental model of a design or plan document, issue, code target, or technical concept.
SkillBFreshness: BClaude Code +9 - 0.526score
report-feedback
sergeiwallace
Prepare privacy-scoped bug reports or feature requests for public GitHub and authenticated Claude Code feedback, with an explicit human gate before any GitHub…
SkillBFreshness: BClaude Code +9 - 0.526score
sync-git
sergeiwallace
Safely synchronize safe uncommitted work and local/remote branch state across selected repositories and worktrees; discard and gitignore recommendations…
SkillBFreshness: BClaude Code +9 - 0.523score
presentation
sergeiwallace
Author a local, review-gated Slidev presentation from a normalized event brief and optional research.
SkillBFreshness: BClaude Code +9
Cite this page
research-doc skill. Agent Mart. https://agentmart.dev/skills/sergeiwallace-research-doc (last updated 2026-10-24)