Installer/upgrader CLI for research-skills (Codex / Claude Code / Gemini) without requiring a git fork.
Project description
Academic Deep Research Skills
A systematic research skills system designed for Claude Code, providing tools for literature review, paper analysis, gap identification, and academic writing.
Features
- ๐ Systematic Literature Review - PRISMA 2020 compliant methodology
- ๐ Deep Paper Reading - Structured notes + BibTeX
- ๐งช Evidence Synthesis & Meta-analysis - Narrative / qualitative / quantitative pooling (PRISMA-aligned)
- ๐ Full Manuscript Drafting - Outline โ draft โ claim-evidence integrity โ figures/tables
- ๐งฉ Study Design โ Publication - Study design, ethics/IRB pack, submission prep, rebuttal workflow
- ๐ Research Gap Identification - 5 types of academic gap analysis
- ๐ง Theoretical Framework Building - Concept relationship mapping
- โ๏ธ Academic Writing Assistance - Standard-compliant formatting
- ๐งโโ๏ธ Multi-Persona Peer Review - Parallel, independent cross-reviews (Methodologist, Domain Expert, "Reviewer 2")
- ๐ CCG Code Execution - Strict Spec -> Plan -> Execute -> Review isolation for code reliability
- ๐ก๏ธ Iterative Critique Loop (Red Teaming) - AI self-review and Socratic questioning to continuously narrow down and refine outputs
- ๐ค Multi-Model Collaboration - Codex + Claude + Gemini coordination across research stages
- ๐งฑ Cross-Model Standard Contract - Shared Task IDs + artifact paths for Codex/Claude/Gemini
- โก Token Optimized - Layered skills architecture (~90% reduction)
Standardization Layer
Use this project with a single canonical workflow contract:
standards/research-workflow-contract.yaml(source of truth)standards/mcp-agent-capability-map.yaml(Task-ID-level MCP + agent orchestration)- Task IDs:
A1...I8 - Artifact root:
RESEARCH/[topic]/
Portable Codex skill package:
research-paper-workflow/SKILL.md
Local consistency validator:
python3 scripts/validate_research_standard.py
python3 -m unittest tests.test_orchestrator_workflows -v
# Project artifact validator (run inside your project)
python3 scripts/validate_project_artifacts.py --cwd ./project --topic ai-in-education --task-id H1 --strict
Multi-client installer:
./scripts/install_research_skill.sh --target all --project-dir /path/to/project --doctor
Upgrade / auto-upgrade:
- Guide:
guides/basic/upgrade-research-skills.md - CLI aliases (after pipx install):
rs/rsw(same asresearch-skills) - Optional default upstream (omit
--repo): setRESEARCH_SKILLS_REPO=<owner>/<repo>, or addresearch-skills.tomlin your project root - Check updates:
rs check --repo <owner>/<repo>(orrs checkifRESEARCH_SKILLS_REPOis set; orpython3 scripts/research_skill_update.py check ...) - Upgrade (no fork / no git clone required):
rs upgrade --repo <owner>/<repo> --project-dir /path/to/project --target all(or omit--repoifRESEARCH_SKILLS_REPOis set; orpython3 scripts/research_skill_update.py upgrade ...)
CI pipeline:
.github/workflows/ci.yml(runspy_compile, strict validator, and unit tests on PR/push)
Beta release docs:
release/v0.1.0-beta.2.mdrelease/v0.1.0-beta.1.mdrelease/rollback.mdrelease/automation.mdrelease/templates/beta-acceptance-template.md
Use --strict to treat warnings as failures.
Release automation:
./scripts/release_automation.sh pre --tag v0.1.0-beta.2
./scripts/release_automation.sh post --tag v0.1.0-beta.2
pre --tag auto-generates release/<tag>.md draft when missing.
pre --tag also auto-fills validator/unittest/smoke evidence lines after checks pass.
Manual draft generation: ./scripts/generate_release_notes.sh --tag v0.1.0-beta.3 --from-tag v0.1.0-beta.2.
Collaboration rule:
- Skill = workflow router (
task_id, output paths, quality gates) - MCP = evidence/tools layer
- Agents = drafting/review layer (primary/reviewer/fallback from capability map)
Collaboration playbook:
guides/advanced/agent-skill-collaboration.mdguides/basic/install-multi-client.mdguides/advanced/cli-reference.md(CLI command reference)guides/advanced/extend-research-skills.md(how to extend/modify parts safely)guides/advanced/mcp-zotero-integration.md(Connecting local citation managers)
0 โ 1 Navigation (New Users)
If you're new to this repo, this is the fastest way to understand and run it:
- Learn the contract (source of truth):
standards/research-workflow-contract.yaml(Task IDs, required outputs, quality gates, dependencies)
- Learn the routing (who does what):
standards/mcp-agent-capability-map.yaml(required skills/MCP + primary/review/fallback agents per Task ID)
- Install into your clients/project:
- Script:
./scripts/install_research_skill.sh --target all --project-dir <project> --doctor - Or pipx + upgrade:
pipx install research-skills-installerthenrs upgrade --project-dir <project> --target all --doctor
- Script:
- Run a workflow:
- In Claude Code: use
/paperor any.agent/workflows/*.mdcommand in your project - CLI:
python3 -m bridges.orchestrator task-run --task-id F3 --paper-type empirical --topic <topic> --cwd <project> --triad
- In Claude Code: use
- Validate outputs:
python3 scripts/validate_project_artifacts.py --cwd <project> --topic <topic> --task-id <task> --strict
Where to customize:
- Personas/runtime options:
standards/agent-profiles.example.json(used byparallel/task-run) - Stage playbooks (DoD/checklists):
research-paper-workflow/references/stage-*.md - Project upstream defaults:
research-skills.toml(orRESEARCH_SKILLS_REPO)
Skills + Agents Flow (ASCII)
User Goal / Prompt
|
v
Skill Router (Task ID + paper_type)
- standards/research-workflow-contract.yaml
- standards/mcp-agent-capability-map.yaml
|
+--------------------------+
| |
v v
MCP Evidence Collection Agent Runtime Routing
(search/extraction/stats) (codex / claude / gemini)
| |
+------------+-------------+
v
Draft Generation
|
v
Review / Critique
|
+-----------+-----------+
| |
v v
Triad Audit (optional) Dual/Single Fallback
\ /
v v
Synthesis (summarizer)
|
v
Quality Gates + Artifact Output Write
-> RESEARCH/[topic]/...
Quick Start
Installation
Clone this repository into your project. Claude Code will automatically recognize commands in .agent/workflows/.
git clone <repository-url> research-skills
Install to Codex + Claude Code + Gemini:
cd research-skills
./scripts/install_research_skill.sh --target all --project-dir /path/to/project --doctor
Installer notes:
--target codex|claude|gemini|allselects install target.--mode copy|linkcontrols whether files are copied or symlinked.--overwritereplaces existing installs.--dry-runpreviews the installation plan.
Commands
| Command | Purpose | Example |
|---|---|---|
/paper |
Choose-your-path paper workflow | /paper ai-in-education CHI |
/lit-review |
Systematic literature review | /lit-review transformer architecture 2020-2024 |
/paper-read |
Deep paper analysis | /paper-read https://arxiv.org/abs/2303.08774 |
/find-gap |
Identify research gaps | /find-gap LLM in education |
/build-framework |
Build theoretical framework | /build-framework technology acceptance |
/academic-write |
Academic writing assistance | /academic-write introduction AI ethics |
/paper-write |
Full paper drafting | /paper-write ai-in-education empirical CHI |
/synthesize |
Evidence synthesis / meta-analysis | /synthesize ai-in-education |
/study-design |
Empirical study design | /study-design ai-in-education |
/ethics-check |
Ethics / IRB pack | /ethics-check ai-in-education |
/submission-prep |
Submission package | /submission-prep ai-in-education CHI |
/rebuttal |
Rebuttal / revision response | /rebuttal ai-in-education |
/code-build |
CCG-driven Research code execution | /code-build \"Staggered DID\" --domain econ |
Task ID recommendation:
- Ask users for both
paper_typeandtask_id(for examplesystematic-review + E3). - Keep task IDs and output paths aligned with
standards/research-workflow-contract.yaml.
Multi-Model Collaboration
Coordinate Codex, Claude, and Gemini for cross-stage research tasks.
Prerequisites
npm install -g @openai/codex
npm install -g @anthropic-ai/claude-code
npm install -g @google/gemini-cli
export OPENAI_API_KEY="..."
export ANTHROPIC_API_KEY="..."
export GOOGLE_API_KEY="..."
Usage
# Preflight check - verify local CLIs, API keys, and MCP command wiring
python -m bridges.orchestrator doctor --cwd ./project
# Parallel analysis - triad concurrent analysis + synthesis
python -m bridges.orchestrator parallel \
--prompt "ๅๆไปฃ็ ๅฎๅ
จๆง" --cwd ./project --summarizer claude
# Optional: per-run profile (persona/style/tool permissions)
python -m bridges.orchestrator parallel \
--prompt "ๅฎกๆฅ่ฏฅ็ ็ฉถๆนๆก็่ฏๆฎ้ฃ้ฉ" \
--cwd ./project \
--summarizer claude \
--profile-file ./standards/agent-profiles.example.json \
--profile strict-review \
--summarizer-profile strict-review
# Chain verification - one generates, other verifies
python -m bridges.orchestrator chain \
--prompt "ๅฎ็ฐ่ฎบๆไธญ็็ฎๆณ" --cwd ./project --generator claude
# Role-based - task division by specialty (3-agent)
python -m bridges.orchestrator role --cwd ./project \
--codex-task "ๅฎ็ฐๆฐๆฎ็ฎก้" \
--claude-task "่ตท่ๆนๆณไธ็ปๆๅ่ฟฐ" \
--gemini-task "็ๆๆๆกฃ"
# Task-run - execute canonical Task ID with capability-map agent routing
python -m bridges.orchestrator task-run \
--task-id F3 \
--paper-type empirical \
--topic ai-in-education \
--cwd ./project \
--context "Draft full manuscript with claim-evidence alignment"
# Optional: enforce required MCP availability
python -m bridges.orchestrator task-run \
--task-id B1 \
--paper-type systematic-review \
--topic ai-in-education \
--cwd ./project \
--mcp-strict
# Optional: enforce skill spec availability
python -m bridges.orchestrator task-run \
--task-id F3 \
--paper-type empirical \
--topic ai-in-education \
--cwd ./project \
--skills-strict
# Optional: force third-agent audit (Codex + Claude + Gemini)
python -m bridges.orchestrator task-run \
--task-id G3 \
--paper-type empirical \
--topic ai-in-education \
--cwd ./project \
--triad
# Optional: stage-level profile overrides (not global)
python -m bridges.orchestrator task-run \
--task-id F3 \
--paper-type empirical \
--topic ai-in-education \
--cwd ./project \
--profile-file ./standards/agent-profiles.example.json \
--profile default \
--draft-profile rapid-draft \
--review-profile strict-review \
--triad-profile strict-review
| Mode | Description |
|---|---|
parallel |
Triad concurrent analysis + synthesis (auto fallback to dual/single) |
chain |
One generates, other verifies (iterative refinement) |
role |
Task division across Codex/Claude/Gemini |
single |
Single model execution |
task-plan |
Render dependency-based task plan (contract dependency_catalog) |
task-run |
Task-ID orchestration using mcp-agent-capability-map.yaml |
doctor |
Environment preflight checks before orchestration |
Runtime note:
doctorchecks CLI availability, key env vars, standards files, and external MCP command bindings.parallelrunscodex + claude + geminiconcurrently, then uses--summarizerfor final synthesis.- If triad is unavailable in
parallel, it degrades automatically to dual or single-agent analysis. parallel --profile-file/--profile/--summarizer-profilelets users customize persona/style/permission profile per run.- Runtime now defaults to non-interactive execution (
CI=1,TERM=dumb) with hard timeouts to avoid hanging sessions. task-planrenders prerequisites fromdependency_catalogand checks which outputs exist underRESEARCH/[topic]/.task-runnow supports runtime execution forcodex,claude, andgeminidirectly.- If a mapped runtime is unavailable, routing automatically falls back to available agents based on the capability map.
task-runauto-injectsrequired_skillsfromtask_skill_mappinginto draft/review prompts.task-runauto-injectsrequired_skill_cardsfromskill_catalog(focus, category, default outputs, skill spec path).task-runauto-injectstask_plan(dependency + completion status) into task packets and prompts.task-run --profile-file+--draft-profile/--review-profile/--triad-profilecustomizes each stage without touching global defaults.task-run --skills-strictblocks execution when required skill spec files are missing.task-run --triadadds a third independent audit so non-code stages can also run full 3-agent collaboration.- External MCP providers can be wired by env var commands, e.g.
RESEARCH_MCP_SCHOLARLY_SEARCH_CMD.
Profile file template:
standards/agent-profiles.example.json- Defines personas, agent runtimes, and an optional
output_language(e.g.,"zh-CN"). Usingoutput_languageenforces localized output while keeping core instructions in English, ensuring maximum AI reasoning stability.
- Defines personas, agent runtimes, and an optional
Core Workflows
1. Systematic Literature Review /lit-review
Follows PRISMA 2020 methodology:
Research Question Definition (PICO/PEO)
โ
Multi-database Search (Semantic Scholar, arXiv, OpenAlex)
โ
Citation Snowballing + Grey Literature
โ
Title/Abstract Screening โ Full-text Screening
โ
Data Extraction + Quality Assessment (RoB, GRADE)
โ
Synthesis Report + PRISMA Flow Diagram
2. Deep Paper Reading /paper-read
Extracts: RQs, Theoretical Framework, Methodology, Key Findings, Contributions & Limitations, Future Work.
Output: Markdown notes + BibTeX citation
3. Research Gap Identification /find-gap
Five types: Theoretical, Methodological, Empirical, Knowledge, Population gaps.
4. Theoretical Framework Building /build-framework
Theory review, concept mapping (Mermaid diagrams), hypothesis derivation.
Evidence Quality Rating (A-E)
| Grade | Evidence Type |
|---|---|
| A | Systematic reviews, Meta-analyses, Large RCTs |
| B | Cohort studies, High-IF journal papers |
| C | Case studies, Expert opinion, Conference papers |
| D | Preprints, Working papers |
| E | Anecdotal, Theoretical speculation |
Project Structure
research-skills/
โโโ standards/ # Canonical workflow contract + capability map (Task IDs, outputs, routing)
โโโ research-paper-workflow/ # Portable skill package installed to Codex/Claude/Gemini
โโโ .agent/workflows/ # Claude Code slash-commands (project workflows)
โโโ bridges/ # Multi-model orchestration (Codex/Claude/Gemini bridges + orchestrator)
โโโ skills/ # Skill specs referenced by capability map (skill cards)
โ โโโ A_framing/ # Research question, theory, positioning
โ โโโ B_literature/ # Search, screen, extract, cite
โ โโโ C_design/ # Study design, analysis, robustness
โ โโโ D_ethics/ # IRB, privacy, deidentification
โ โโโ E_synthesis/ # Quality assessment, synthesis, bias
โ โโโ F_writing/ # Manuscript, tables, figures, meta
โ โโโ G_compliance/ # PRISMA, reporting, tone
โ โโโ H_submission/ # Package, rebuttal, review, CRediT
โ โโโ I_code/ # Spec, plan, build, review, release
โ โโโ Z_cross_cutting/ # Multi-agent, metadata, QA, tone
โ โโโ domain-profiles/ # Domain-specific configs (economics, cs-ai, biomedical, etc.)
โ โโโ registry.yaml # Machine-readable index of all skills
โโโ pipelines/ # Abstract pipeline DAGs (systematic-review, empirical, etc.)
โโโ roles/ # Research team role configs (pi, statistician, etc.)
โโโ schemas/ # JSON schemas + artifact type vocab
โโโ eval/ # Golden test cases + rubrics + runner
โโโ skills-core.md # Token-optimized consolidated reference for skills
โ โโโ project.toml # Packaged default upstream (CI-injected; overrideable)
โโโ release/ # Release notes + acceptance receipts + templates
โโโ tests/ # Orchestrator workflow unit tests (mock bridges)
โโโ .github/workflows/ # GitHub Actions CI + release automation
โโโ RESEARCH/ # Example / generated research artifacts (contract output root)
โโโ BETA_TODO.md # Beta readiness checklist
โโโ TODO_ROADMAP.md # Longer-term roadmap
โโโ CLAUDE.md # Claude Code quick reference (installed into projects)
โโโ pyproject.toml # Packaging (console scripts + metadata)
โโโ README.md # English docs
โโโ README_CN.md # ไธญๆๆๆกฃ
Token Optimization
The system uses a layered architecture for token efficiency:
- Default: Use
skills-core.md(~8KB consolidated reference) - Detail: Load full
skills/*.mdonly when needed
Result: ~90% token reduction for skill references.
Supported APIs
| Source | Purpose | Coverage |
|---|---|---|
| Semantic Scholar | Primary search | 200M+ papers |
| arXiv | CS/AI/Physics preprints | Full coverage |
| OpenAlex | Bibliometrics | 250M+ works |
| Crossref | Metadata verification | 140M+ DOIs |
| Unpaywall | OA full-text access | DOI-based |
Reference Manager Integration
Supports: Zotero (BibTeX, CSL-JSON), Mendeley (BibTeX, RIS), EndNote (RIS)
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file research_skills_installer-0.1.0b7.tar.gz.
File metadata
- Download URL: research_skills_installer-0.1.0b7.tar.gz
- Upload date:
- Size: 25.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1b8b603c8b866e99c9ab6be8e7473c3feaaee6faa5cc9694d564569211a58eb5
|
|
| MD5 |
d445c3a51d7a3f0872865ff6c5c81b37
|
|
| BLAKE2b-256 |
de831caeb60c8373daacda6bf8607057bd638c9e252471bb474ce0ed5e2d9a3c
|
Provenance
The following attestation bundles were made for research_skills_installer-0.1.0b7.tar.gz:
Publisher:
publish-pypi.yml on jxpeng98/research-skills
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
research_skills_installer-0.1.0b7.tar.gz -
Subject digest:
1b8b603c8b866e99c9ab6be8e7473c3feaaee6faa5cc9694d564569211a58eb5 - Sigstore transparency entry: 1019253810
- Sigstore integration time:
-
Permalink:
jxpeng98/research-skills@22e1b055f7013a64645cd37f3f09860ce9a13a55 -
Branch / Tag:
refs/tags/v0.1.0b7 - Owner: https://github.com/jxpeng98
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@22e1b055f7013a64645cd37f3f09860ce9a13a55 -
Trigger Event:
push
-
Statement type:
File details
Details for the file research_skills_installer-0.1.0b7-py3-none-any.whl.
File metadata
- Download URL: research_skills_installer-0.1.0b7-py3-none-any.whl
- Upload date:
- Size: 16.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1b00dd98dbcd4aadf82516cdc5a1d7f1e00a5d701fc21b71f5c53ea0dd4ee14a
|
|
| MD5 |
12aa7acd9a171c7c113e0b9faac13a49
|
|
| BLAKE2b-256 |
4e34a2acc1204eeef94d1a82dc31e33989e88fb31a2bd3469e2caa655e87f681
|
Provenance
The following attestation bundles were made for research_skills_installer-0.1.0b7-py3-none-any.whl:
Publisher:
publish-pypi.yml on jxpeng98/research-skills
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
research_skills_installer-0.1.0b7-py3-none-any.whl -
Subject digest:
1b00dd98dbcd4aadf82516cdc5a1d7f1e00a5d701fc21b71f5c53ea0dd4ee14a - Sigstore transparency entry: 1019253822
- Sigstore integration time:
-
Permalink:
jxpeng98/research-skills@22e1b055f7013a64645cd37f3f09860ce9a13a55 -
Branch / Tag:
refs/tags/v0.1.0b7 - Owner: https://github.com/jxpeng98
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@22e1b055f7013a64645cd37f3f09860ce9a13a55 -
Trigger Event:
push
-
Statement type: