Papersmith AI in Pi — commands, skills and agents

Papersmith AI in Pi — commands, skills and agents An architecture diagram generated by Archify. .pi/APPEND_SYSTEM.md · Pi system prompt · 1 · Harness (Pi) .pi/APPEND_SYSTEM.md Pi system prompt skills/ · canonical · .pi/skills link · 1 · Harness (Pi) · setup:harnesses skills/ canonical · .pi/skills link setup:harnesses sync-repo-harness.py · writes the .pi/ projection · 1 · Harness (Pi) · --check sync-repo-harness.py writes the .pi/ projection --check .pi/ · prompts · agents · extensions · 1 · Harness (Pi) .pi/ prompts · agents · extensions pi-subagents · package that reads .pi/agents · 1 · Harness (Pi) pi-subagents package that reads .pi/agents /idea-shaping · smith idea · Idea tab · 2a · Idea shaping (optional, before /plausibility) · .pi/prompts /idea-shaping smith idea · Idea tab .pi/prompts Operator picks sources · banco-lia · other bank MCP · none · 2a · Idea shaping (optional, before /plausibility) · smith idea bank --choose Operator picks sources banco-lia · other bank MCP · none smith idea bank --choose idea_brief.json · .papersmith/ · every step + history · 2a · Idea shaping (optional, before /plausibility) idea_brief.json .papersmith/ · every step + history idea-guide · read-only · 2a · Idea shaping (optional, before /plausibility) · three topics + a draft idea-guide read-only three topics + a draft Operator approves draft · prompt gate → approve → handoff · 2a · Idea shaping (optional, before /plausibility) · Launch plausibility Operator approves draft prompt gate → approve → handoff Launch plausibility /plausibility · idea in ≥ 2 sentences · 2 · Plausibility, then the paper type (/paper-type; smith kind set moves the workspace to another line) · .pi/prompts /plausibility idea in ≥ 2 sentences .pi/prompts sota-scout · reads · writes · bash · 2 · Plausibility, then the paper type (/paper-type; smith kind set moves the workspace to another line) sota-scout reads · writes · bash sota-grapher · reads · writes · bash · 2 · Plausibility, then the paper type (/paper-type; smith kind set moves the workspace to another line) sota-grapher reads · writes · bash novelty-screener · reads · bash · 2 · Plausibility, then the paper type (/paper-type; smith kind set moves the workspace to another line) novelty-screener reads · bash sota-pool/ · candidates · atlas.html · 2 · Plausibility, then the paper type (/paper-type; smith kind set moves the workspace to another line) sota-pool/ candidates · atlas.html /paper-type · scores the idea · catalogue · 2 · Plausibility, then the paper type (/paper-type; smith kind set moves the workspace to another line) · .pi/prompts /paper-type scores the idea · catalogue .pi/prompts paper-type-advisor · read-only · 2 · Plausibility, then the paper type (/paper-type; smith kind set moves the workspace to another line) · relates every type paper-type-advisor read-only relates every type paper_type.json · .papersmith/ · type + variant · 2 · Plausibility, then the paper type (/paper-type; smith kind set moves the workspace to another line) paper_type.json .papersmith/ · type + variant smith kind set · another line: contracts + flow · 2 · Plausibility, then the paper type (/paper-type; smith kind set moves the workspace to another line) · operator · --force smith kind set another line: contracts + flow operator · --force /paper-ingestion · PDF in guidance/ · 3 · Ingestion · .pi/prompts /paper-ingestion PDF in guidance/ .pi/prompts paper-ingestion · reads · writes · bash · 3 · Ingestion · stretch: terminal paper-ingestion reads · writes · bash stretch: terminal guidance/ · Markdown + figures · 3 · Ingestion guidance/ Markdown + figures /pixelrag · figure → evidence · keyless · 3 · Ingestion · facts · record · status /pixelrag figure → evidence · keyless facts · record · status /proposal-deliberation · bound → published · 4 · Proposal deliberation · .pi/prompts /proposal-deliberation bound → published .pi/prompts cli.mjs --serve · replace · insert · delete · 4 · Proposal deliberation · CREATE_SUCCESSOR cli.mjs --serve replace · insert · delete CREATE_SUCCESSOR Human acceptance · preview → accept · 4 · Proposal deliberation Human acceptance preview → accept deliberation-publish · reads · bash · 4 · Proposal deliberation · stretch: terminal deliberation-publish reads · bash stretch: terminal proposals/ · rNN.md · rNN.graph.html · 4 · Proposal deliberation proposals/ rNN.md · rNN.graph.html Problem & pillars · step 1 · Generar y deliberar · 4a · Problem & pillars → hypotheses → mathematics → SOTA citations → judge-reviewer (Mapa Conceptual); smith ui and Update board · Mapa Conceptual Problem & pillars step 1 · Generar y deliberar Mapa Conceptual Hypotheses · step 2 · locked until step 1 · 4a · Problem & pillars → hypotheses → mathematics → SOTA citations → judge-reviewer (Mapa Conceptual); smith ui and Update board Hypotheses step 2 · locked until step 1 Mathematics · step 3 · $$ \tag{N} in rNN.md · 4a · Problem & pillars → hypotheses → mathematics → SOTA citations → judge-reviewer (Mapa Conceptual); smith ui and Update board Mathematics step 3 · $$ \tag{N} in rNN.md /math-tutor · socratic · hand-written pages · 4a · Problem & pillars → hypotheses → mathematics → SOTA citations → judge-reviewer (Mapa Conceptual); smith ui and Update board · .pi/prompts /math-tutor socratic · hand-written pages .pi/prompts math-tutor · read-only · 4a · Problem & pillars → hypotheses → mathematics → SOTA citations → judge-reviewer (Mapa Conceptual); smith ui and Update board math-tutor read-only model_spec.json · .papersmith/ · contribution_type · 4a · Problem & pillars → hypotheses → mathematics → SOTA citations → judge-reviewer (Mapa Conceptual); smith ui and Update board model_spec.json .papersmith/ · contribution_type paper-reviewer · judge-reviewer · step 5 · 4a · Problem & pillars → hypotheses → mathematics → SOTA citations → judge-reviewer (Mapa Conceptual); smith ui and Update board · contribution type paper-reviewer judge-reviewer · step 5 contribution type SOTA citations · step 4 · citations.json quotes · 4a · Problem & pillars → hypotheses → mathematics → SOTA citations → judge-reviewer (Mapa Conceptual); smith ui and Update board · citations_cli check · routes SOTA citations step 4 · citations.json quotes citations_cli check · routes smith atlas coverage · cited refs the sky lacks · 4a · Problem & pillars → hypotheses → mathematics → SOTA citations → judge-reviewer (Mapa Conceptual); smith ui and Update board smith atlas coverage cited refs the sky lacks smith ui · phase drawer → /<skill> · 4a · Problem & pillars → hypotheses → mathematics → SOTA citations → judge-reviewer (Mapa Conceptual); smith ui and Update board · command center smith ui phase drawer → /<skill> command center Update board · phase · missing steps · gates · 4a · Problem & pillars → hypotheses → mathematics → SOTA citations → judge-reviewer (Mapa Conceptual); smith ui and Update board · refresh at start · --no-refresh Update board phase · missing steps · gates refresh at start · --no-refresh /api/model/math · concept map · KaTeX cards · 4a · Problem & pillars → hypotheses → mathematics → SOTA citations → judge-reviewer (Mapa Conceptual); smith ui and Update board /api/model/math concept map · KaTeX cards .papersmith/math-tutor/ · thread + uploaded pages · 4a · Problem & pillars → hypotheses → mathematics → SOTA citations → judge-reviewer (Mapa Conceptual); smith ui and Update board .papersmith/math-tutor/ thread + uploaded pages /experimental-deliberation · requires data-paper/ · 5 · Proof of concept and experiments: the protocol first · .pi/prompts /experimental-deliberation requires data-paper/ .pi/prompts experimental-validation · read-only · 5 · Proof of concept and experiments: the protocol first · stretch: validated experimental-validation read-only stretch: validated Human acceptance · deliberated = operator · 5 · Proof of concept and experiments: the protocol first Human acceptance deliberated = operator experimental-publish · reads · bash · 5 · Proof of concept and experiments: the protocol first · stretch: terminal experimental-publish reads · bash stretch: terminal experiments/ · experimental protocol · 5 · Proof of concept and experiments: the protocol first · 5.1–5.5 experiments/ experimental protocol 5.1–5.5 /datasets · toy → published · 5a · Datasets (toy set → official preparation) · .pi/prompts /datasets toy → published .pi/prompts dataset-scout · reads · bash · 5a · Datasets (toy set → official preparation) · sourced → licensed dataset-scout reads · bash sourced → licensed dataset-curator · reads · writes · bash · 5a · Datasets (toy set → official preparation) · toy → published dataset-curator reads · writes · bash toy → published Upload consent · private · --consent <slug> · 5a · Datasets (toy set → official preparation) Upload consent private · --consent <slug> datasets/ · registry · splits.json · 5a · Datasets (toy set → official preparation) · 5.6 datasets/ registry · splits.json 5.6 /proposal-implementation · standing → full-scale · 5b · Replication and proof of concept · .pi/prompts /proposal-implementation standing → full-scale .pi/prompts implementation-build · reads · writes · bash · 5b · Replication and proof of concept · stretch: audit implementation-build reads · writes · bash stretch: audit implementation-walk · reads · bash · 5b · Replication and proof of concept · stretch: rehearsal implementation-walk reads · bash stretch: rehearsal Authorizes a launch · operator only · 5b · Replication and proof of concept Authorizes a launch operator only implementations/<repo> · its own git + .venv · 5b · Replication and proof of concept implementations/<repo> its own git + .venv paper-replicator · reads · writes · bash · 5b · Replication and proof of concept · stretch: fidelity paper-replicator reads · writes · bash stretch: fidelity Published code? · adopt + audit, else rebuild · 5b · Replication and proof of concept Published code? adopt + audit, else rebuild REPLICATION.md · equation → line provenance · 5b · Replication and proof of concept · 5.7 REPLICATION.md equation → line provenance 5.7 discussion.json · verdicts · tests · novelty · 5b · Replication and proof of concept · gates 5.8 discussion.json verdicts · tests · novelty gates 5.8 smith novelty --gate poc · approve · iterate · 5c · Proof-of-concept verification (G-EXP-POC, operator) · novelty_cli.py smith novelty --gate poc approve · iterate novelty_cli.py novelty_gate.json · poc · beside the full decision · 5c · Proof-of-concept verification (G-EXP-POC, operator) novelty_gate.json · poc beside the full decision G-EXP-POC · results + contrasted hypotheses · 5c · Proof-of-concept verification (G-EXP-POC, operator) · operator · 5.9 G-EXP-POC results + contrasted hypotheses operator · 5.9 Verify the PoC · Novedad tab · Experimentos stepper · 5c · Proof-of-concept verification (G-EXP-POC, operator) · command center Verify the PoC Novedad tab · Experimentos stepper command center /experimental-implementation · locked until G-EXP-POC · 5d · Full experiments (after G-EXP-POC) · .pi/prompts /experimental-implementation locked until G-EXP-POC .pi/prompts experiments-build · reads · writes · bash · 5d · Full experiments (after G-EXP-POC) · baselines: REPLICATION.md experiments-build reads · writes · bash baselines: REPLICATION.md experiments-reviewer · reads · bash · 5d · Full experiments (after G-EXP-POC) · stretch: instrumentation experiments-reviewer reads · bash stretch: instrumentation experiments-walk · reads · bash · 5d · Full experiments (after G-EXP-POC) · stretch: rehearsal experiments-walk reads · bash stretch: rehearsal Authorizes a launch · whole campaign · 5d · Full experiments (after G-EXP-POC) Authorizes a launch whole campaign discussion.json · verdicts · tests · novelty · 5d · Full experiments (after G-EXP-POC) · gates 5.12 discussion.json verdicts · tests · novelty gates 5.12 reviewer_report.json · blockers resolved · 5d · Full experiments (after G-EXP-POC) · gates 5.13 reviewer_report.json blockers resolved gates 5.13 /experiments-tutor · explains · asks · evaluates · 5d · Full experiments (after G-EXP-POC) · Experimentos tab /experiments-tutor explains · asks · evaluates Experimentos tab experiments-tutor · read-only · 5d · Full experiments (after G-EXP-POC) · never invents a number experiments-tutor read-only never invents a number /kaggle-accounts · taken-in → decided · 5e · Credentials · .pi/prompts /kaggle-accounts taken-in → decided .pi/prompts accounts_cli.py · validate --interactive · 5e · Credentials · TTY only accounts_cli.py validate --interactive TTY only store/ · validated credentials · 5e · Credentials store/ validated credentials /remote-parallelism · estimate · assess --owners · 5e · Credentials · split a campaign? /remote-parallelism estimate · assess --owners split a campaign? refuse-offpath-push.js · extension: watches bash · 5f · Remote rehearsal and launch · tool_call refuse-offpath-push.js extension: watches bash tool_call /remote-execution · reachable → returned · 5f · Remote rehearsal and launch · .pi/prompts /remote-execution reachable → returned .pi/prompts readiness + gate · single-use token · 5f · Remote rehearsal and launch · 5.14 readiness + gate single-use token 5.14 remote_cli.py · submit · poll · fetch · 5f · Remote rehearsal and launch · 13 subcommands remote_cli.py submit · poll · fetch 13 subcommands kaggle-inbox/ · ledger + results · 5f · Remote rehearsal and launch kaggle-inbox/ ledger + results paper-reviewer · contribution type of the findings · 5g · Findings: contribution type and G-NOVELTY · discussion.json paper-reviewer contribution type of the findings discussion.json Novelty & Findings · Novedad & Hallazgos tab · 5g · Findings: contribution type and G-NOVELTY · command center Novelty & Findings Novedad & Hallazgos tab command center G-NOVELTY · approve · iterate · 5g · Findings: contribution type and G-NOVELTY · operator G-NOVELTY approve · iterate operator novelty_gate.json · .papersmith/ · history · 5g · Findings: contribution type and G-NOVELTY novelty_gate.json .papersmith/ · history smith novelty · status · approve · iterate · 5g · Findings: contribution type and G-NOVELTY · --gate full smith novelty status · approve · iterate --gate full /paper-writing skeleton · paper/ tree + contracts · 6 · Scaffolding (the line chosen with smith init --kind <line>: experimental, review or one of six empirical lines) · .pi/prompts /paper-writing skeleton paper/ tree + contracts .pi/prompts sections/*.md · section contracts · 6 · Scaffolding (the line chosen with smith init --kind <line>: experimental, review or one of six empirical lines) · G1 sections/*.md section contracts G1 smith init --kind <line> · eight lines · own board + flow · 6 · Scaffolding (the line chosen with smith init --kind <line>: experimental, review or one of six empirical lines) · its own section contracts smith init --kind <line> eight lines · own board + flow its own section contracts /systematic-review · protocol · search · screening · 6 · Scaffolding (the line chosen with smith init --kind <line>: experimental, review or one of six empirical lines) · review line · PRISMA 2020 /systematic-review protocol · search · screening review line · PRISMA 2020 /paper-writing mark · authorship · funding · ethics · 7 · Declarations · .pi/prompts /paper-writing mark authorship · funding · ethics .pi/prompts insumos-observer · read-only · 7 · Declarations · stretch: declare insumos-observer read-only stretch: declare /paper-writing · one named block at a time · 8 · Writing · .pi/prompts /paper-writing one named block at a time .pi/prompts redactor · read-only · 8 · Writing · stretch: write redactor read-only stretch: write contract-auditor · read-only · 8 · Writing · stretch: write contract-auditor read-only stretch: write style-sampler · read-only · 8 · Writing · stretch: write style-sampler read-only stretch: write ai-auditor · read-only · 8 · Writing · ai_audit · humanize ai-auditor read-only ai_audit · humanize section-grounding-auditor · read-only · 8 · Writing · stretch: write section-grounding-auditor read-only stretch: write paper_cli.py · write judges what comes back · 9 · Figures and grounding · 34 verbs · --expect-digest paper_cli.py write judges what comes back 34 verbs · --expect-digest diagram-author · reads · writes · bash · 9 · Figures and grounding · stretch: render diagram-author reads · writes · bash stretch: render figure-auditor · reads · bash · 9 · Figures and grounding · stretch: verify figure-auditor reads · bash stretch: verify figure-visual-reviewer · reads · bash · 9 · Figures and grounding · by eye · after the audit figure-visual-reviewer reads · bash by eye · after the audit /figure-review · probe · raster, no changes · 9 · Figures and grounding · .pi/prompts /figure-review probe · raster, no changes .pi/prompts paper-reviewer · final judge · overall 1–6 · 10 · Paper (PDF tab: Caztor LaTeX editor, Change Control, final judge rounds) · returns one round paper-reviewer final judge · overall 1–6 returns one round paper_cli.py review · --input <round.json> · 10 · Paper (PDF tab: Caztor LaTeX editor, Change Control, final judge rounds) · verdict per revision paper_cli.py review --input <round.json> verdict per revision paper_review.json · .papersmith/ · one per round · 10 · Paper (PDF tab: Caztor LaTeX editor, Change Control, final judge rounds) paper_review.json .papersmith/ · one per round PDF preview tab · style · redundancy · judge · 10 · Paper (PDF tab: Caztor LaTeX editor, Change Control, final judge rounds) · command center PDF preview tab style · redundancy · judge command center paper/ · main.tex · main.pdf · 10 · Paper (PDF tab: Caztor LaTeX editor, Change Control, final judge rounds) paper/ main.tex · main.pdf Launch the final judge · next round → agent terminal · 10 · Paper (PDF tab: Caztor LaTeX editor, Change Control, final judge rounds) · PDF tab · one per round Launch the final judge next round → agent terminal PDF tab · one per round Change Control · marks → Caztor chat · 10 · Paper (PDF tab: Caztor LaTeX editor, Change Control, final judge rounds) · PDF tab panel Change Control marks → Caztor chat PDF tab panel Caztor LaTeX editor · files · LaTeX · PDF · chat · 10 · Paper (PDF tab: Caztor LaTeX editor, Change Control, final judge rounds) · editor switch · sidecar Caztor LaTeX editor files · LaTeX · PDF · chat editor switch · sidecar /journal-finder · --scope national · Q1-Q2 · 10a · Journal choice, venue adaptation and Spanish translation (after the PDF) · .pi/prompts /journal-finder --scope national · Q1-Q2 .pi/prompts journal_cli.py search · OpenAlex · Publindex IBN 2026 · 10a · Journal choice, venue adaptation and Spanish translation (after the PDF) · national: A1 · A2 · B journal_cli.py search OpenAlex · Publindex IBN 2026 national: A1 · A2 · B Quartile + review time · SCImago 2025 · Crossref→PubMed · 10a · Journal choice, venue adaptation and Spanish translation (after the PDF) · bundled · sjr-import wins Quartile + review time SCImago 2025 · Crossref→PubMed bundled · sjr-import wins journal-candidates.json · paper/ · schema 1 · 10a · Journal choice, venue adaptation and Spanish translation (after the PDF) journal-candidates.json paper/ · schema 1 Operator picks a journal · PDF Preview → venue select · 10a · Journal choice, venue adaptation and Spanish translation (after the PDF) Operator picks a journal PDF Preview → venue select venue-adapter · read-only · 10a · Journal choice, venue adaptation and Spanish translation (after the PDF) · requirements · quote + url venue-adapter read-only requirements · quote + url venue acquire · diff · template · audit.json · 10a · Journal choice, venue adaptation and Spanish translation (after the PDF) venue acquire · diff template · audit.json Operator approves plan · sha256-bound · approval.json · 10a · Journal choice, venue adaptation and Spanish translation (after the PDF) Operator approves plan sha256-bound · approval.json paper_cli.py write · text changes only here · 10a · Journal choice, venue adaptation and Spanish translation (after the PDF) · redactor → audit paper_cli.py write text changes only here redactor → audit venue build · class · front matter · blocks · 10a · Journal choice, venue adaptation and Spanish translation (after the PDF) · main.tex untouched venue build class · front matter · blocks main.tex untouched paper_cli.py translate · plan · store · build · audit · 10a · Journal choice, venue adaptation and Spanish translation (after the PDF) · fidelity gate per block paper_cli.py translate plan · store · build · audit fidelity gate per block translator · read-only · 10a · Journal choice, venue adaptation and Spanish translation (after the PDF) · neutral academic Spanish translator read-only neutral academic Spanish translation-style-reviewer · read-only · 10a · Journal choice, venue adaptation and Spanish translation (after the PDF) · reads translate audit translation-style-reviewer read-only reads translate audit paper/translations/es/ · Spanish main.pdf · PDF tab · 10a · Journal choice, venue adaptation and Spanish translation (after the PDF) paper/translations/es/ Spanish main.pdf · PDF tab main.pdf · paper/venues/<slug>/ · 10a · Journal choice, venue adaptation and Spanish translation (after the PDF) main.pdf paper/venues/<slug>/ /skill-audit · subject: any skill · 11 · Audit (transversal) · .pi/prompts /skill-audit subject: any skill .pi/prompts audit-report · reads · writes · bash · 11 · Audit (transversal) audit-report reads · writes · bash Audit report · never repairs · 11 · Audit (transversal) Audit report never repairs top-5 to ingest guidance/ revision rNN protocol complete discussion verified PoC job ready accounts proven measured results approved → writing section contracts declarations /<skill> topics + draft /plausibility <draft> accepted report operator agrees atlas.json concept + math toy set fidelity discussion_cli.py discussion_cli.py credentials delegates sections round N LaTeX editor on compiled PDF candidates agent drafts plan.md Spanish-only journal 1 · Harness (Pi) 2a · Idea shaping (optional, before /plausibility) 2 · Plausibility, then the paper type (/paper-type; smith kind set moves the workspace to another line) 3 · Ingestion 4 · Proposal deliberation 4a · Problem & pillars → hypotheses → mathematics → SOTA citations → judge-reviewer (Mapa Conceptual); smith ui and Update board 5 · Proof of concept and experiments: the protocol first 5a · Datasets (toy set → official preparation) 5b · Replication and proof of concept 5c · Proof-of-concept verification (G-EXP-POC, operator) 5d · Full experiments (after G-EXP-POC) 5e · Credentials 5f · Remote rehearsal and launch 5g · Findings: contribution type and G-NOVELTY 6 · Scaffolding (the line chosen with smith init --kind <line>: experimental, review or one of six empirical lines) 7 · Declarations 8 · Writing 9 · Figures and grounding 10 · Paper (PDF tab: Caztor LaTeX editor, Change Control, final judge rounds) 10a · Journal choice, venue adaptation and Spanish translation (after the PDF) 11 · Audit (transversal) Legend Pi command /skill Pi subagent Artifact on disk Gate (human) CLI Pi harness