iris
Iris — your knowledge/org instrument, installed with every Amore Build house. It is a daemon with clients: the `iris` multi-tool (org verbs: task/inbox/knowledge/reminder CRUD against your house's files, plus the lint `iris regula lint` and daemon index reads for graph/search/backlinks) and the dash (bare `iris` / `iris dash` — the OpenTUI glass). The Bun daemon runs on 127.0.0.1:3853 (loopback only) and owns the live index: recursive file-watcher, wikilink/backlink resolver, graph, fuzzy search. Writes go through @amore/regula, the single write-core that owns schema, folder placement, lifecycle, and the lint rule set — every org mutation is a regula mutation, never a hand-edit that skips the contract. Use when operating or developing iris: indexing your house, org CRUD, the lint surface, the knowledge graph, the dash, or the daemon. SKIP for plain file edits inside your house that touch no org structure — that is ordinary work. NOT the fork itself (/amore-build); NOT speculum (/speculum — the session-mirror companion); NOT the network CLI (/network-cli).
- License 许可
- Apache-2.0
- 最近更新
- 2026-11-10
- Stars
- ★ 2
- Forks
- 0
01 前言 Front Matter
- name
- iris
- description
- Iris — your knowledge/org instrument, installed with every Amore Build house. It is a daemon with clients: the `iris` multi-tool (org verbs: task/inbox/knowledge/reminder CRUD against your house's files, plus the lint `iris regula lint` and daemon index reads for graph/search/backlinks) and the dash (bare `iris` / `iris dash` — the OpenTUI glass). The Bun daemon runs on 127.0.0.1:3853 (loopback only) and owns the live index: recursive file-watcher, wikilink/backlink resolver, graph, fuzzy search. Writes go through @amore/regula, the single write-core that owns schema, folder placement, lifecycle, and the lint rule set — every org mutation is a regula mutation, never a hand-edit that skips the contract. Use when operating or developing iris: indexing your house, org CRUD, the lint surface, the knowledge graph, the dash, or the daemon. SKIP for plain file edits inside your house that touch no org structure — that is ordinary work. NOT the fork itself (/amore-build); NOT speculum (/speculum — the session-mirror companion); NOT the network CLI (/network-cli).
- allowed-tools
- Read, Edit, Write, Glob, Grep, Bash
03 SKILL.md 正文
iris — knowledge/org instrument
Iris is the lens onto your org system. It keeps a live index of your house (documents, wikilinks, graph, search) and gives you one consistent surface for org CRUD — tasks, inbox, knowledge, reminders — with the schema contract enforced, not remembered.
iris: in Homer the messenger whose path is the arc itself; in optics the ring that admits light into every instrument. Both readings name one function — fetching what is asked for, and regulating what gets through.
The one architectural fact: daemon + clients, reads vs writes
- The Bun daemon owns READS —
127.0.0.1:3853, loopback only. Live index (recursive file-watcher), wikilink/backlink resolver, graph, fuzzy search. This is what the CLI and dash read. @amore/regulaowns WRITES — schema, folder placement, legal lifecycle transitions, lint. The single write-core every mutation goes through.- Clients:
iris= org verbs + daemon reads (the agent surface); bareiris/iris dash= the OpenTUI dash (the operator surface). A client exit never stops the daemon.
This split is why org CRUD works even when the daemon is down (regula is direct-file) — only index reads (graph/search/backlinks) need the daemon.
Getting started
iris status # orientation counts across your house
iris commands --json # THE canonical verb surface — the manifest
iris commands --json is the source of truth for what the CLI can do; the
lists below are an orientation snapshot, and the manifest wins when they
disagree.
The CLI surface
| Area | Verbs |
|---|---|
| tasks | task list|get|create|complete|pause|block|status|update |
| inbox | inbox capture|list|get|resolve|move|archive|promote |
| knowledge | knowledge list|get|create|update |
| reminders | reminder list|get|create|complete|dismiss|snooze|update |
| lint | lint [--folder <dir>] — the house lint; errors fail, warnings don't |
| index reads | graph [--scope --depth] · links <path> · search <q> --mode index |
| status | status [--json] |
Org-root resolution: commands resolve the org root from $IRIS_ORG_ROOT or
the house markers (AGENTS.md + tasks/), and refuse rather than silently fall
back to the cwd.
Mutation trust: reads work on any resolved root. Mutations require a house
root (orientation doc + tasks/) or an explicit opt-in
(--allow-foreign-root, IRIS_ALLOW_FOREIGN_ROOT=1, or a path in
~/.iris/allowed-roots.json). Refusals name the one-line remedy.
The lint surface — iris regula lint
iris regula lint is the house lint: frontmatter schema, type↔folder
placement, status↔folder lifecycle, wikilink resolution (broken links are
errors in the four scope dirs), current-state staleness, and lattice-orientation
drift. Errors fail (exit 1); warnings don't. A session that touches org
structure ends with it green.
The dash
Bare iris opens the OpenTUI dash: Dashboard / Tasks / Inbox / Reminders /
Knowledge / Files / Graph / Forge. The graph is the headline view (force-directed
over the daemon's /api/graph), and Recent Changes renders the
## Recent structural changes (DATE) sections of your context/current-state.md.
iris dash is the same surface; it re-execs a sibling iris-dash-* binary when
present.
Operating the daemon
iris daemon [--port N] [org_root] (or let the dash spawn it). Loopback only;
all /api/* routes are unauthenticated on loopback (a local client needs no
token). Routes the agent reaches for: /api/daemon/status (handshake),
/api/search, /api/graph (?shape=v2), /api/files (links/backlinks).
IRIS_PORT / IRIS_ORG_ROOT / IRIS_TIMEOUT_MS / IRIS_ALLOW_FOREIGN_ROOT /
IRIS_THEME are the knobs. State lives under ~/.iris.
Editing the org system, correctly
Everything you mutate through the CLI is a regula mutation: the correct status flip plus the folder move plus the date, atomically. The reason this is worth it: "grade was done in one move, not three" — a mutation is correct by construction. If a verb makes the correct action harder than hand-editing the file, that verb fails its bar; tell the maintainer, don't route around it.
Building / developing
Source is the Bun workspace instruments/iris/ in the amore-build fork
(packages: daemon, regula, cli, tui, parity). bun test per package is the
contract's pin — a new lint rule or lifecycle transition lands WITH its test
case. The dash is a separate compiled artifact (bun run build:compile --with-dash). When you change the CLI surface, the daemon API, or the lint
rule set, update this document in the same change.
Notes
- A stale skill is worse than no skill. Iris is under active construction;
keep this map accurate as you build. When a verb list and
iris commands --jsondisagree, the manifest wins and this page is stale. - The compiled multi-tool embeds the daemon; the dash is a separate artifact beside it.
04 同仓库更多 Skills
speculum
Speculum — a local mirror over your own Amore Build agent sessions. It walks ~/.amore/sessions, builds a rebuildable sqlite index (speculum.sqlite under ~/.amore/instruments/speculum/), runs heuristic probes (rage-rate, frustration-markers, tool-mix, stuck-loop, apology-rate, operator-correction, sensitive-content, stale-corpus) with Wilson 95% confidence intervals, and reports per-model token/turn usage. Local commands (ingest/sessions/status/forget/scan/usage) never call a model or open a socket. Optional lenses (session-postmortem, pattern-extraction, usage-story) send a scrubbed session slice through YOUR own amore configuration to the model that config routes to — opt-in by explicit `speculum lens <name>`; the scrubber fails closed (typed placeholders, 100 KB cap, refuse-over-send) and every invocation is recorded in an append-only audit log; `speculum summarize` is the only other egress, generating session titles from a scrubbed capped digest under the same fail-closed + audited discipline. Use when operating speculum: indexing sessions, running probes, reading usage, using or adding lenses, or checking what a session actually did. SKIP when the work is the org system itself (that is iris) or the amore fork (/amore-build).
sortes
Draw a random lens tuple to decorrelate a review, audit, or ideation pass from the model's default moves. Load BEFORE a repeat review/audit over the same substrate (fan-out reviews, multi-arm research, coverage sweeps) where successive passes keep finding the same things, OR when brainstorming needs to escape the same handful of default angles. The picker (`skill://sortes/bin/pick.ts`) draws N lenses from a catalog with an mtime cooldown so draws rotate; each consumer ends with a mandatory `not surfaced:` trail line. SKIP for a single first-pass review (fixed default dimensions are fine cold) and for one-off lookups. NOT a review harness itself (it feeds one — a multi-agent wave, a forge pipeline, a reviewer pass); NOT ISDA (that MEASURES density; sortes DIVERTS attention).
somniator
Dream review and agentic-dream contracts for Lucerna. Use when reviewing dream manifests (review-status pending), applying or closing forge proposals, reading forge/dreams sessions, or running supervised self-orient / agentic-housekeeping cycles. Load before multi-turn dream review work. SKIP plain org CRUD; SKIP operator forge pipelines under forge/sessions/ (those are forge-master).
prokope
Design, write, and operate long-horizon goal loops (goal briefs, campaign tasks, acceptance bars, working surfaces, pressure health, session re-arm, compactification survival). TRIGGER when authoring or revising a goal prompt/task, starting a multi-session campaign, diagnosing a long goal that flatlined or over-produced volume without altitude, diagnosing drift after context compaction / session boundary, or the operator mentions prokope, goal-loop engineering, goal brief, campaign doctrine, compactification survival, tip survival, or "how we run goals". Companions: forge-master (multi-agent topology), sortes (decorrelation sampler — mandatory on multi-arm research waves), isda (telos/substrate density checkpoints on briefs and deltas); task lifecycle is direct work on the house's tasks/knowledge/inbox surfaces per AGENTS.md (no separate lifecycle skill). SKIP one-shot lookups, single PR features with a clear done bar, or pure instrument code without a goal-loop. NOT forge-master (does not dispatch agents). NOT sortes (does not draw lenses). NOT isda (does not score full documents unless checkpointing).
oeconomia
Delegation economy for budget-precious orchestrator sessions: keep the orchestrator's compounding window lean by routing high-freight/low-judgment work to subagents on KNOWN model resolutions. REFLEX (holds even before the body loads): (1) EVERY dispatch fires with its model resolution KNOWN — without an explicit pin a subagent inherits the parent/session model via resolution order (spawn-time/runtime override → [subagents.models.<name>] → the agent definition's own model → parent session model). A blind spawn silently inherits the orchestrator. Prefer type pins in config and spawn-time overrides when the dispatch must not share the session meter; (2) delegate bulk + early — multi-file comprehension reads, protocol-driven review/judging sweeps, build/test runs, scripted bulk edits — bulk freight must never land in the orchestrator's window, where every token is re-sent at the cache-read weight on every remaining turn; (3) keep judgment — architecture, which-change decisions, synthesis, calibration reads, git/org curation, operator dialogue; (4) floor — a single known-file read, a one-off grep/glob lookup, a two-line edit, or any read near session-end stays home; (5) PREFERRED TIER-USE: configured freight types for bounded, mechanically-gated work; session-model (or a stronger pin) for judgment-adjacent bounded work the gates can't verify; never an unearned cheaper tier. Load the body BEFORE: dispatching or inlining a heavy multi-file read; a bounded code task mid-conversation; forming a review/judge wave; continuing any session whose context is heading into fatigue territory. SKIP in cheap short sessions (most research/lookup work) — imposing delegation ceremony there is this skill's vice. Economy licenses errand delegation, never avoidance of pipeline-shaped work — 3+ independent concerns needing synthesis is /forge-master's jurisdiction. NOT /forge-master (pipeline-shaped epistemic work) and NOT /auriga (campaign-scale build orchestration) — this is the per-dispatch allocation contract both of those obey.
isda
Irreducible Semantic Density Analysis. Decomposes text into seven strata from the seven liberal arts — three Trivium (Grammatica, Dialectica, Rhetorica) plus four Quadrivium (Arithmetica, Geometria, Musica, Astronomia) organized by the Nicomachan-Boethian 2x2 — relative to a stated purpose (telos) and a named retrieval substrate. Each stratum gets a conditional-complexity measure plus a dominant intensity tag (Stock, Implied, Selected, Original). Use when asked to analyze text density, measure originality, check if something could be shorter, assess semantic compression, or plan an edit against a specific telos and substrate. SKIP for plain copyediting, grammar or style fixes, and generic shortening requests that carry no density, compression, or originality framing; SKIP for code-quality passes. NOT /simplify or /code-review (those hunt reuse, efficiency, or bugs in a diff and then edit it) — ISDA measures telos-relative semantic density across the seven strata and hands back an analysis, it does not rewrite the text.