agent/codex/collect/commands/papers.md
Snider 466fe9f5a6 feat(codex): mirror claude plugins and ethics modal
Summary:\n- added Codex marketplace registry plus awareness/ethics/guardrails sub-plugins\n- mirrored Claude plugin commands/scripts/hooks into codex api/ci/code/collect/coolify/core/issue/perf/qa/review/verify\n- embedded Axioms of Life ethics modal, guardrails, and kernel files under codex/ethics\n- added Codex parity report, improvements list, and MCP integration plan\n- extended Gemini MCP tools and docs for Codex awareness
2026-02-05 20:13:01 +00:00

74 lines
1.6 KiB
Markdown

---
name: papers
description: Collect whitepapers from the ledger-papers registry
args: [--category <name>] [--all] [--search <term>]
---
# Whitepaper Collection
Collect academic papers and whitepapers from the registry.
## Usage
```
/collect:papers --category cryptography
/collect:papers --all
/collect:papers --search bulletproofs
```
## Action
### List categories
```bash
jq -r '.papers[].category' skills/ledger-papers/registry.json | sort -u
```
### Collect by category
```bash
# Get URLs for a category
jq -r '.papers[] | select(.category == "<category>") | .url' skills/ledger-papers/registry.json > urls.txt
# Download each
while read url; do
borg collect website "$url" --depth 0
done < urls.txt
```
### Collect all
```bash
jq -r '.papers[].url' skills/ledger-papers/registry.json | while read url; do
borg collect website "$url" --depth 0
done
```
## Categories
| Category | Count | Examples |
|----------|-------|----------|
| genesis | 4 | Bitcoin, b-money, hashcash |
| cryptonote | 2 | CryptoNote v2.0, CNS standards |
| mrl | 11 | Monero Research Lab papers |
| privacy | 9 | Zcash, Mimblewimble, Lelantus |
| cryptography | 10 | Bulletproofs, CLSAG, PLONK |
| consensus | 7 | PBFT, Tendermint, Casper |
| defi | 7 | Uniswap, Aave, Compound |
| layer2 | 7 | Lightning, Plasma, Rollups |
## Academic Sources
For papers not in registry, search:
```bash
# IACR ePrint
borg collect website "https://eprint.iacr.org/search?q=<term>" --depth 1
# arXiv
borg collect website "https://arxiv.org/search/?query=<term>&searchtype=all" --depth 1
```
## Output
Papers are collected to:
```
skills/ledger-papers/archive/<category>/<paper>.pdf
```