hep-mcp-usage
Skill20 starsChanged 22 days agoMITView on GitHub
Use proactively when a research task would benefit from the Nullius hep-mcp MCP stack for literature search, arXiv source retrieval, broad scholarly metadata/citation context through OpenAlex, INSPIRE/HEPData/PDG/Zotero provider access, citekey/BibTeX resolution, search exports into project files, or source-backed prior-art checks; explicit user mention is not required. Also trigger when a user asks to use hep-mcp, INSPIRE, arXiv source, arxiv-mcp, OpenAlex, openalex-mcp, HEPData, PDG, Zotero, or local literature/evidence MCP tools. Keep HEP-specific assumptions scoped to HEP workflows and providers.
In this repository34 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- citation-triangulationSkill
- claim-groundingSkill
- claude-cli-runnerSkill
- codex-cli-runnerSkill
- deep-literature-reviewSkill
- derivation-verifySkill
- dsh-cli-runnerSkill
- figure-hygieneSkill
- gemini-cli-runnerSkill
- hep-calcSkill
- idea-allocationSkill
- idea-generationSkill
- idea-pairwise-matchSkill
- idea-posteriorSkill
- julia-packageSkill
- julia-perfSkill
- kimi-cli-runnerSkill
- literature-graph-builderSkill
- literature-to-packageSkill
- markdown-hygieneSkill
- numerical-reliability-gateSkill
- opencode-cli-runnerSkill
- paper-reviserSkill
- pdg-lookupSkill
- physics-diagramsSkill
- referee-reviewSkill
- research-harnessSkill
- research-integritySkill
- research-teamSkill
- research-writerSkill
- review-swarmSkill
- zotero-importSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
17 rules. About 0 are common, 4 are distinctive, and 13 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
13
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 18
Do not wait for the user to name hep-mcp or a provider explicitly.
- Very specific: line 19
Treat arxiv_*, openalex_*, hepdata_*, pdg_*, and zotero_* as provider atoms that can be surfaced through hep-mcp.
- Very specific: line 20
Keep hep-mcp as domain/provider-layer authority.
- Distinctive: line 21
Use the live tool inventory from the connected MCP server.
- Very specific: line 25
If the work belongs to an initialized Nullius project, pass project_root=/absolute/path/to/project on HEP tool calls so state lands under …
- Very specific: line 26
If the current directory is not an initialized Nullius project, do not pass project_root just because a local workspace exists.
- Very specific: line 30
Keep fetched sources, extracted text, and generated artifacts outside the Nullius development repo unless the repo explicitly owns that …
- Distinctive: line 35
Start with a health/config check when the session has not already proved the MCP server is available.
- Very specific: line 36
Search with the most authoritative provider for the question.
- Distinctive: line 38
Treat metadata resolution as identification, not verification.
- Distinctive: line 39
Check author/name collisions, year/topic outliers, and suspicious citation mappings explicitly.
- Very specific: line 56
Use research-harness first when entering or recovering an initialized research project.
- Very specific: line 57
Use deep-literature-review when the task is a full source-first literature survey rather than a single lookup or evidence check.
- Very specific: line 58
Use claim-grounding when the task is to decide whether a cited source actually supports a written claim.
- Very specific: line 59
Use citation-triangulation when canonical metadata from multiple bibliographic indexes is the central task.
- Very specific: line 60
Use hep-calc for reproducible HEP calculations, symbolic/numerical comparison, or auditable compute runs.
- Very specific: line 61
Use pdg-lookup or zotero-import when the user specifically asks for those narrower workflows.
≈ “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
hep-mcp usage
Overview
Use hep-mcp as the composed MCP front door for the Nullius literature/evidence provider stack. For HEP work, it is the HEP domain entrypoint. It also composes bounded provider atoms such as arxiv-mcp, openalex-mcp, hepdata-mcp, pdg-mcp, and zotero-mcp; some of those atoms, especially arXiv and OpenAlex, are useful outside HEP. Use the live tool inventory because exact tool names can vary by client and mode.
This skill is an agent-facing operating contract. It does not replace research-harness, claim-grounding, deep-literature-review, hep-calc, pdg-lookup, or zotero-import; use those skills when their narrower workflow is the primary task.
Entry Point Discipline
- For HEP literature, evidence, citation, paper-source, data, PDG, or Zotero work, first look for a usable
hep-mcpMCP server/tool surface. - For non-HEP scholarly literature/source/metadata tasks, use the general provider atoms surfaced through
hep-mcpwhen the live inventory exposes them, especially arXiv, OpenAlex, and Zotero. Do not force INSPIRE, HEPData, PDG, or HEP taxonomy onto non-HEP tasks. - Do not wait for the user to name
hep-mcpor a provider explicitly. If a task needs source-backed literature discovery, source retrieval, citation metadata, cross-index triangulation, or provenance collection and this MCP stack is available, route through this skill. - Treat
arxiv_*,openalex_*,hepdata_*,pdg_*, andzotero_*as provider atoms that can be surfaced throughhep-mcp. Do not ask the user to wire those provider MCP servers separately unless the host lacks the neededhep-mcpcapability or the user explicitly wants a standalone provider check. - Keep
hep-mcpas domain/provider-layer authority. Do not promote HEP assumptions into generic Nullius control-plane behavior. - Use the live tool inventory from the connected MCP server. Do not rely on stale static tool counts or copied lists.
Project and Artifact Roots
- If the work belongs to an initialized Nullius project, pass
project_root=/absolute/path/to/projecton HEP tool calls so state lands underartifacts/hep-mcp. - If the current directory is not an initialized Nullius project, do not pass
project_rootjust because a local workspace exists. Use scratch mode via the resolvedHEP_DATA_DIRinstead. hep-mcpkeeps no runs of its own; runs, approvals, and lifecycle belong to the Nullius orchestrator (<project_root>/artifacts/runs/<run_id>/). The research-output tools (search exports, identifier and Zotero mappings, LaTeX parses, conflict maps, andinspire_searchwhen givenoutput_dir) needproject_rootplus anoutput_dirinside the project; use a subdirectory of the current run directory, e.g.artifacts/runs/<run_id>/literature.output_dirmay not traverse a symbolic link below the project root, lie under.nullius/,team/runs/orartifacts/hep-mcp/(compared ignoring letter case), or be the project root itself. A call never replaces an existing file, and a call that fails removes what it had published (if a published file cannot be removed, the error says the outputs are incomplete and listsfiles_left; staging files that cannot be removed are listed instaging_lefton the original error, or instaging_pathif unidentified; removals that cannot be flushed to disk are reported as UNSAFE_FS withunflushed_directories; only a crash during publication can leave part of a set without such a report; later calls naming those files are refused until they are removed); to run a tool again, give a newoutput_dir(or new artifact names). Downloads made byinspire_paper_source, caches and PDG data stay in hep-mcp's data root.- For durable research conclusions, record the project-relative paths the tools return (
export_path,meta_path,mapping_path,path,artifacts[].path); the INSPIRE requests and responses behind a search export, an identifier resolution or the INSPIRE step of a Zotero mapping are recorded under<output_dir>/external_api/(other provider calls are not). - Historical HEP run directories (for example
<project_root>/artifacts/hep-mcp/runs/<run_id>/), paper/evidence project directories with their evidence catalogs (for example<project_root>/artifacts/hep-mcp/projects/<project_id>/), and notes citinghep://runs/...orhep://projects/...are evidence from earlier versions: read them in place and never rewrite or move them. No tool resolveshep://references any more; maphep://runs/<run_id>/artifact/<name>to<HEP data root>/runs/<run_id>/artifacts/<name>,hep://runs/<run_id>/manifestto<HEP data root>/runs/<run_id>/manifest.json,hep://projects/<project_id>to<HEP data root>/projects/<project_id>/project.json,hep://projects/<project_id>/artifact/<name>to<HEP data root>/projects/<project_id>/artifacts/<name>,hep://projects/<project_id>/papers/<paper_id>to<HEP data root>/projects/<project_id>/papers/<paper_id>/paper.json, andhep://projects/<project_id>/papers/<paper_id>/evidence/catalogto<HEP data root>/projects/<project_id>/papers/<paper_id>/evidence/catalog.jsonl(percent-decode the segments); the listingshep://projectsandhep://projects/<project_id>/papershave no single file: they were JSON built on read,{"projects": [...]}with one row per readableproject.jsonunder<HEP data root>/projects/(project_id,name,description,created_at,updated_at,uri) and{"project_id": ..., "papers": [...]}with one row per readablepaper.jsonunder<HEP data root>/projects/<project_id>/papers/(paper_id,updated_at,uri, andevidence_catalog_urifromartifacts.evidence_catalog.uriwhen present), most recently updated first, unreadable entries skipped, where the HEP data root is<project_root>/artifacts/hep-mcpif the original call named a project root, elseHEP_DATA_DIRas configured at that time, else the scratch default of the version that wrote it (~/.hep-research-mcpuntil 2026-02-26,~/.hep-mcpuntil 2026-05-16,~/.autoresearch/hep-mcpuntil 2026-07-05,~/.nullius/hep-mcpsince; near a changeover date check both). - Keep fetched sources, extracted text, and generated artifacts outside the Nullius development repo unless the repo explicitly owns that fixture.
- Environment paths such as
HEP_DATA_DIRandPDG_DATA_DIRare filesystem roots, not URI/protocol settings.
Evidence Workflow
- Start with a health/config check when the session has not already proved the MCP server is available.
- Search with the most authoritative provider for the question. For HEP literature identity and author queries, start with INSPIRE-backed
hep-mcpsearch; for non-HEP scholarly metadata or citation context, start with the general provider most suited to the task, such as OpenAlex or arXiv. - For arXiv papers, prefer source retrieval and LaTeX/source-level reading over abstract-only summaries or PDF-only skim when the claim is load-bearing.
- Treat metadata resolution as identification, not verification. A paper, DOI, recid, arXiv id, or citekey match does not prove the cited content supports the claim.
- Check author/name collisions, year/topic outliers, and suspicious citation mappings explicitly. Report collisions instead of silently accepting a mixed result set.
- For source-backed claims, record enough provenance for a later reader to locate the supporting section, equation, figure, table, or extracted source span.
Provider Composition
arxiv-mcp: use throughhep-mcpfor arXiv metadata, paper source retrieval, source trees, and source-first reading across arXiv-covered fields.openalex-mcp: use throughhep-mcpfor broad scholarly metadata, citation graph context, and cross-index triangulation across fields.hepdata-mcp: use throughhep-mcpfor HEPData records and data-backed evidence where relevant.pdg-mcp: use throughhep-mcpor thepdg-lookupskill for particle properties, measurements, and reference checks.zotero-mcp: use throughhep-mcpor thezotero-importskill for local library import/confirmation flows.
Standalone provider MCPs remain valid bounded atoms. For HEP work, hep-mcp is the composed entrypoint unless there is a concrete reason to bypass it. For non-HEP scholarly work, use only the general provider capabilities exposed through the stack and avoid HEP-specific inference unless the source evidence warrants it.
Query sizing: a single MCP tool call is bounded by the host's per-call timeout (host-dependent — as low as about two minutes by default on some CLI hosts, hours on others), and broad full-text literature searches have been observed to hit such ceilings. Decompose wide questions into several narrow metadata or citation-graph queries (then follow up on specific records) instead of one exhaustive full-text sweep, and prefer paginated continuation over raising result counts. Large source downloads that stall are better fetched through the host's page-fetch fallback than retried through the same MCP call.
Routing to Neighbor Skills
- Use
research-harnessfirst when entering or recovering an initialized research project. - Use
deep-literature-reviewwhen the task is a full source-first literature survey rather than a single lookup or evidence check. - Use
claim-groundingwhen the task is to decide whether a cited source actually supports a written claim. - Use
citation-triangulationwhen canonical metadata from multiple bibliographic indexes is the central task. - Use
hep-calcfor reproducible HEP calculations, symbolic/numerical comparison, or auditable compute runs. - Use
pdg-lookuporzotero-importwhen the user specifically asks for those narrower workflows.
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.

