prophet-toolkit
AGENTS.md1 starsChanged 12 days agoMITView on GitHub
Prophet is an offline JSON CLI for cultural research and reproducible rule comparisons. Read cli.py, bin/prophet, core/inputs.py, the affected engine and its register(), tests/selftest.py, relevant docs/, scripts/setup.sh, and THIRD_PARTY_NOTICES.md before changing behavior. Do not commit unless explicitly asked. bash scripts/setup.sh creates .venv using uv or python3 -m venv, installs pinned Python/npm dependencies, fetches pinned vendor sources and optional ephemeris data, builds the local corpus and runs tests. Setup requires network access; runtime must stay offline. Python 3.12 and Node 20…
1 other project uses a version of this.
Adopted by
Most recently taken up by
- AstralumeLan/Prophet-toolkitword for word, first seen Nov 8, 2026
Other versions1 project uses a version of this.
Word for word · 1
- AstralumeLan/Prophet-toolkit★ 1100% same
Edited · 0
None found.
Wrote their own version · 0
None found.
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about code style.
Of the AGENTS.md files we read, the 31,774 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repository5 other files it gives its agents.
- llms-full.txtllms.txt
- llms.txtllms.txt
- baziSkill
- cross-checkSkill
- ziweiSkill
The file
We split this AGENTS.md into the rules it gives an agent
8 rules. About 0 are common, 3 are distinctive, and 5 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- could be automatic: a setting could enforce it
- Very specific: line 4
Read cli.py, bin/prophet, core/inputs.py, the affected engine and its register(), tests/selftest.py, relevant docs/, scripts/setup.sh, and …
- Distinctive: line 15
If networking is unavailable, use the installed environment and report missing dependencies.
- Very specific: line 47
Use rules_ext for provenance or school details.
- Distinctive: line 50
Test public reference charts or fictional S01–S04, boundaries, missing dependencies, and relevant invariants.
- Very specific: line 52
Document flags/defaults in the affected system docs.
- Very specific: line 55
Run tests, regenerate .venv/bin/python scripts/gen_llms_full.py after docs changes, and inspect the release file list for private or …
- Distinctive: line 62
Never overwrite raw time with a correction.
- Very specific: line 77
Read docs/agent-workflows.md and the relevant skills/*/SKILL.md before changing evidence or analysis workflows.
≈ “Common” is an estimate: at least 1 in 5 of the 40,246 AGENTS.md 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
Working on Prophet
Prophet is an offline JSON CLI for cultural research and reproducible rule comparisons.
Read cli.py, bin/prophet, core/inputs.py, the affected engine and its register(),
tests/selftest.py, relevant docs/, scripts/setup.sh, and THIRD_PARTY_NOTICES.md
before changing behavior. Do not commit unless explicitly asked.
Setup and run
bash scripts/setup.sh creates .venv using uv or python3 -m venv, installs pinned
Python/npm dependencies, fetches pinned vendor sources and optional ephemeris data,
builds the local corpus and runs tests. Setup requires network access; runtime must
stay offline. Python 3.12 and Node 20 are the CI baseline. --no-tests skips the final
test run; --with-tianji explicitly opts into restricted course material.
If networking is unavailable, use the installed environment and report missing dependencies.
bin/prophet bazi chart --person S01 --pretty
bin/prophet tools --pretty
bin/prophet --describe
bin/prophet selftest
bin/prophet selftest -k test_bazi
bin/prophet selftest -k test_mcpSelftest discovers plain test_* functions and exits nonzero for any failure or no
matching tests. Use temporary directories for persistence tests; never rely on
existing caches or journals. Run the full selftest and relevant optional dependency
checks after changes, including missing-data fallbacks. Shared-library agreement
is not independent validation. Document frozen numeric fixtures and provenance.
Layout
cli.py,bin/: parser, JSON dispatch and entry points.core/: input precision, coordinates, solar time, draws, cache and tool discovery.eastern/,western/,vedic/: engines; Ziwei uses a local Node JSON bridge.corpus/,validate/: local source normalization/search and scoped comparisons.tests/: offline regression functions and public/fictional fixtures.schemas/,prophet_mcp/: generated output contracts and stdio MCP adapter.docs/,scripts/: system rules, setup and reproducible generators.
Adding an engine
- Implement
register(subparsers)with argparse types, choices, defaults and help; register the module incli.MODULES. Return JSON-serializable data. - Include
enginewithname,version,rules, and explicitwarnings. Userules_extfor provenance or school details. Keep fallback rules explicit. - Resolve inputs through shared helpers. Preserve branches/candidates and invariants for uncertain times; distinguish a calculation sample from a confirmed time.
- Test public reference charts or fictional S01–S04, boundaries, missing dependencies, and relevant invariants. Cite numeric provenance, licence and tolerances.
- Document flags/defaults in the affected system docs. Add fictional/public sample
values to
scripts/gen_schemas.pyif needed and run.venv/bin/python scripts/gen_schemas.py. The manifest and MCP list automatically discover the argparse tree. - Run tests, regenerate
.venv/bin/python scripts/gen_llms_full.pyafter docs changes, and inspect the release file list for private or generated content.
Invariants and privacy
Runtime never accesses the network. Command handlers emit JSON, including explicit errors and nonzero failure status. Keep output changes backward-compatible and additive. Never overwrite raw time with a correction. Never silently turn approximate ranges into confirmed midpoints. Never redraw a recorded question implicitly; use the ordinary draw policy, preserving reuse and explicit redraw warnings, including through MCP.
Real people belong only in gitignored core/people.json. Examples must be fictional
S01–S04 or documented public charts. Never add real birth records, private locations,
caches, journals, credentials, or personalized reports. Do not read private files to
create fixtures. Use temporary directories for all test persistence.
Preserve third-party LICENSE/NOTICE files and attribution. Never bundle vendor checkouts, generated corpora, node_modules, or Swiss Ephemeris data. Restricted course material is opt-in and retains CC BY-NC-SA 4.0 restrictions; default builds exclude it.
Optional agent layer (v0.2.0)
Read docs/agent-workflows.md and the relevant skills/*/SKILL.md before changing
evidence or analysis workflows. Skills remain optional original guidance outside
deterministic chart engines. core/evidence.py checks shape and restricted paths,
not claim semantics or source authenticity. Keep its schema and rejection behavior
aligned. core/cross_check.py runs engines independently and compares candidate
fact sets; never describe these as predictive consensus or pair unlike branches.
MCP discovers both commands automatically. Retain the current stdio transport;
SDK migration is future work. Add tests for paths, invalid evidence, interval
branches, skill references and MCP calls. New examples use fictional S01–S04 only.
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.

