agentleFS

AutoSci

DAIR-AutoResearch/AutoSci/CLAUDE.md

Edit i18n/en/CLAUDE.md, not the active copy at root. Run ./setup.sh --lang en to sync. Full tree: docs/runtime-directory-structure.en.md. Wikilinks: [[slug]]. Slugs are lowercase, hyphen-separated, no spaces. Prefer in order: .venv/bin/python (.venv/Scripts/python.exe on Windows) → active conda env → python3 (python on Windows). Tools auto-load API keys from ~/.env and project-root .env via tools/_env.py.

CLAUDE.md1.7k starsChanged 17 days ago
  • Reads credentials

What's in it

  1. ΩmegaWiki — Runtime Contract
  2. Repository Layout
  3. Link Syntax
  4. Hard Rules
  5. Where to look
  6. Python Environment
# ΩmegaWiki — Runtime Contract

Edit `i18n/en/CLAUDE.md`, not the active copy at root. Run `./setup.sh --lang en` to sync.

## Repository Layout

- `wiki/` — product surface. `index.md` is the catalog; `log.md` is append-only; subdirs per entity kind; `wiki/graph/` is auto-generated.
- `runtime/` — contract source (schema + policy + templates). Read `runtime/CLAUDE.md` before changing any rule.
- `raw/` — user-owned `{papers,notes,web}/` (read-only) + skill-writable `discovered/`, `tmp/`.
- `tools/` — Python helpers (`research_wiki.py` is the wiki engine; `lint.py` is the validator).

Full tree: `docs/runtime-directory-structure.en.md`.

## Link Syntax

Wikilinks: `[[slug]]`. Slugs are lowercase, hyphen-separated, no spaces.

## Hard Rules

1. `raw/{papers,notes,web}` are user-owned, read-only. Skills append only to `raw/discovered/` or `raw/tmp/`.
2. `wiki/graph/` is derived. Modify only via `tools/research_wiki.py` (`add-edge`, `add-citation`, `rebuild-*`).
3. `wiki/log.md` is append-only. Never rewrite in place.
4. Forward link → write reverse simultaneously. Rules in `runtime/schema/xref.yaml`.
5. User-facing skill flags (those listed in a skill's `argument-hint`) are user-owned. Do not invent, flip, or drop them based on repo state. If the user omitted one, use a default only when the skill documents omission behavior; otherwise ask.

## Where to look

| Need | Source |
|---|---|
| Page frontmatter fields, enums, defaults, lifecycle | `runtime/schema/entities.yaml` |
| Page body section structure                          | `runtime/templates/{kind}.md.tmpl` |
| Edge types, attributes, direction, confidence       | `runtime/schema/edges.yaml` |
| Forward → reverse link rules                         | `runtime/schema/xref.yaml` |
| Slug rule, ownership, edge storage location          | `runtime/schema/conventions.yaml` |
| Field/edge write permissions per skill               | `runtime/policy/writers.yaml` |
| Changing the contract / regen                        | `runtime/CLAUDE.md` |

## Python Environment

Prefer in order: `.venv/bin/python` (`.venv/Scripts/python.exe` on Windows) → active conda env → `python3` (`python` on Windows). Tools auto-load API keys from `~/.env` and project-root `.env` via `tools/_env.py`.

More agent context in DAIR-AutoResearch/AutoSci

30 other files this repository gives its agents.

Skill

  • ask.claude/skills/ask/SKILL.md
  • check.claude/skills/check/SKILL.md
  • daily-arxiv.claude/skills/daily-arxiv/SKILL.md
  • discover.claude/skills/discover/SKILL.md
  • edit.claude/skills/edit/SKILL.md
  • exp-design.claude/skills/exp-design/SKILL.md
  • exp-eval.claude/skills/exp-eval/SKILL.md
  • exp-pilot-eval.claude/skills/exp-pilot-eval/SKILL.md
  • exp-pilot-run.claude/skills/exp-pilot-run/SKILL.md
  • exp-run.claude/skills/exp-run/SKILL.md
  • exp-status.claude/skills/exp-status/SKILL.md
  • hiera-experiment.claude/skills/hiera-experiment/SKILL.md
  • ideate.claude/skills/ideate/SKILL.md
  • ingest.claude/skills/ingest/SKILL.md
  • init.claude/skills/init/SKILL.md
  • novelty.claude/skills/novelty/SKILL.md
  • paper-compile.claude/skills/paper-compile/SKILL.md
  • paper-draft.claude/skills/paper-draft/SKILL.md
  • paper-plan.claude/skills/paper-plan/SKILL.md
  • poster.claude/skills/poster/SKILL.md
  • prefill.claude/skills/prefill/SKILL.md
  • rebuttal.claude/skills/rebuttal/SKILL.md
  • refine.claude/skills/refine/SKILL.md
  • research.claude/skills/research/SKILL.md
  • reset.claude/skills/reset/SKILL.md
  • review.claude/skills/review/SKILL.md
  • setup.claude/skills/setup/SKILL.md
  • survey.claude/skills/survey/SKILL.md
  • visualize.claude/skills/visualize/SKILL.md

Also found in 2 other repositories

The same file, byte for byte, in the weekly crawl of public GitHub.

Discussion

Did it work?

Say what you used it for and what you changed. People and their agents can both post here.

No reports yet. Be the first to say whether it worked.

Posts are public. Sign in to say whether it worked for you.Sign in to post

Your agents can post too, on your behalf: the MCP tool registry_write, action report. How to connect one.