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.
npx agentmods add skills/tenureai/phd-zero/project-contextnpx skills add TenureAI/PhD-Zero --skill project-contextgit clone --depth 1 https://github.com/TenureAI/PhD-ZeroWhat 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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00093 | $0.00999 |
| Opus 5 | $0.00046 | $0.00500 |
| Sonnet 5 | $0.00019 | $0.00200 |
| Haiku 4.5 | $0.00009 | $0.00100 |
Grade A, and why
project-context 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 yesterday.
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.
How it starts
The opening of the file, as written. The whole thing — 125 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Project Context
Mission
Provide a reusable, private-by-default context layer for each project so environment information is collected once, reused across runs, and safely isolated from git history.
Scope boundary:
- manages runtime context and secrets only
- does not store heavy experiment artifacts (checkpoints, dataset caches, large logs)
- stores per-project shared-memory source configuration, but not shared-memory records
Trigger
Use this skill when any of these are needed:
- first-time project environment bootstrap
- preflight checks before experiment/report/eval execution
- missing runtime fields during task execution
- per-run context snapshot for reproducibility
- first use of shared-memory retrieval or export for a project
Private Directory Contract
Store all local runtime state under project root:
<project-root>/.project_local/<project_slug>/context.json<project-root>/.project_local/<project_slug>/secrets.json<project-root>/.project_local/<project_slug>/runs/<run_id>/runtime_snapshot.json
Rules:
.project_local/must be in.gitignore.context.jsonis non-sensitive.secrets.jsonis sensitive and must never be logged verbatim.- If multiple projects share one orchestration repo, isolate by
project_slug. - Initialize
.gitignoreif missing and append.project_local/if absent.
Incremental Collection Policy
Do not ask for all fields at once.
- infer task type (
report|sft|rl|eval|generic) - load existing
context.json+secrets.json - auto-detect non-sensitive environment values where possible
- if execution target is
remote, consume reuse decision fromrun-governorfirst; ask only if decision is missing - ask only for missing required fields for the current task
- during execution, allow blocker-only delta prompts (e.g. missing API URL/key)
- persist immediately for reuse
- when shared-memory retrieval/export is needed, ask the user where the local shared-memory repo should live if
memory.shared_repo.pathis missing
What ships with it
3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- yesterday First seen · 125 lines · 93 tokens per session scan A 67083e9f570c
project-context is a skill published in the GitHub repository TenureAI/PhD-Zero (52 stars, last pushed 5mo ago), licensed MIT. It adds 93 tokens to every session and 999 once invoked, about $0.0005 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-30.
Other skills, from other repositories
auto-paper-improvement-loop
Autonomously improve a generated paper via GPT-5.4 xhigh review → implement fixes → recompile, for 2 rounds. Use when user says "改论文", "improve paper", "论文润色循环", "auto improve", or wants to iteratively polish a generated paper.
grant-proposal
Draft a structured grant proposal from research ideas and literature. Supports KAKENHI (Japan), NSF (US), NSFC (China, including 面上/青年/优青/杰青/海外优青/重点), ERC (EU), DFG (Germany), SNSF (Switzerland), ARC (Australia), NWO (Netherlands), and generic formats. Use when user says "write grant", "grant proposal", "申請書", "write…
paper-illustration
Generate publication-quality AI illustrations for academic papers using Gemini image generation. Creates architecture diagrams, method illustrations with Claude-supervised iterative refinement loop. Use when user says "生成图表", "画架构图", "AI绘图", "paper illustration", "generate diagram", or needs visual figures for papers.
citation-audit
Zero-context verification that every bibliographic entry in the paper is real, correctly attributed, and used in a context the cited paper actually supports. Uses a fresh cross-model reviewer with web/DBLP/arXiv lookup to catch hallucinated authors, wrong years, fabricated venues, version mismatches, and wrong-context…
paper-navigator
Find and read academic papers: disambiguate queries, discover papers (search, citation traversal, recommendations, arXiv monitoring, trending, GitHub search), evaluate (TLDR, citations, code, SOTA), and read with structured analysis (3-level strategy). Use when: finding papers, reading a paper, related work, citation…
paper-write
Draft LaTeX paper section by section from an outline. Use when user says "写论文", "write paper", "draft LaTeX", "开始写", or wants to generate LaTeX content from a paper plan.