# loopany Documentation > Reference for the loopany CLI and agent skill library: markdown artifacts, append-only reference graph, workspace schema, and harness-neutral install paths for long-horizon agent memory. This is a Grok-Wiki source-grounded repository documentation set. Use the complete Markdown link when an agent needs the full repo context. ## Context Links - [Complete Markdown docs](https://grok-wiki.com/public/docs/superdesigndev-loopany-97bd9ab97ae8/llms-full.txt) - [Complete Markdown alias](https://grok-wiki.com/public/docs/superdesigndev-loopany-97bd9ab97ae8.md) - [Human interactive docs](https://grok-wiki.com/public/docs/superdesigndev-loopany-97bd9ab97ae8) - [GitHub repository](https://github.com/superdesigndev/loopany) ## Repository - Repository: superdesigndev/loopany - Generated: 2026-06-05T19:05:11.667Z - Updated: 2026-06-05T19:21:01.699Z - Runtime: Grok CLI - Format: Documentation - Pages: 22 ## Pages - [Overview](https://grok-wiki.com/public/docs/superdesigndev-loopany-97bd9ab97ae8/pages/01-overview.md): What loopany exposes (CLI, workspace, skills), runtime assumptions (Bun, $LOOPANY_HOME), and the shortest path from init to a running mission-backed brain. - [Installation](https://grok-wiki.com/public/docs/superdesigndev-loopany-97bd9ab97ae8/pages/02-installation.md): Clone the repo, install Bun, link the CLI, set PATH, initialize $LOOPANY_HOME, and wire the resolver injection into Claude Code, Codex, or other agent hosts. - [Quickstart](https://grok-wiki.com/public/docs/superdesigndev-loopany-97bd9ab97ae8/pages/03-quickstart.md): First successful session: init workspace, create a mission and task, add a reference edge, run doctor, and optional reindex/search or factory UI. - [Artifacts and workspace](https://grok-wiki.com/public/docs/superdesigndev-loopany-97bd9ab97ae8/pages/04-artifacts-and-workspace.md): On-disk layout under $LOOPANY_HOME: artifacts//.md, config.yaml, references.jsonl, audit.jsonl, optional search.db, and v0.2 slug-as-id storage rules. - [Kinds and validation](https://grok-wiki.com/public/docs/superdesigndev-loopany-97bd9ab97ae8/pages/05-kinds-and-validation.md): Markdown kind definitions, dynamic Zod frontmatter schemas, status machines, indexedFields, slug rules, and immutable write semantics (append, status flip, supersede). - [Reference graph](https://grok-wiki.com/public/docs/superdesigndev-loopany-97bd9ab97ae8/pages/06-reference-graph.md): Append-only references.jsonl edges, implicit mentions from frontmatter, canonical relation verbs, refs/trace queries, and wiki-link [[id]] conventions. - [Domains](https://grok-wiki.com/public/docs/superdesigndev-loopany-97bd9ab97ae8/pages/07-domains.md): Scope-local packs under domains//, enabled_domains in config.yaml, domain-scoped kind overrides, and when to propose a domain vs a note. - [Skills library](https://grok-wiki.com/public/docs/superdesigndev-loopany-97bd9ab97ae8/pages/08-skills-library.md): Agent-readable SKILL.md packs (resolver, core, capture, reflect, review), routing table, cross-skill chaining, and harness-neutral memory injection. - [Self-improvement loop](https://grok-wiki.com/public/docs/superdesigndev-loopany-97bd9ab97ae8/pages/09-self-improvement-loop.md): Task ## Outcome evidence, learning beliefs, skill-proposal accept/reject flow, checkAt followups, and the rule that agents never edit skills directly. - [Workspace setup](https://grok-wiki.com/public/docs/superdesigndev-loopany-97bd9ab97ae8/pages/10-workspace-setup.md): Run loopany init, verify bundled kinds copied, complete ONBOARDING.md once, register cadence (cron vs session-boundary), and confirm doctor passes. - [Capture workflow](https://grok-wiki.com/public/docs/superdesigndev-loopany-97bd9ab97ae8/pages/11-capture-workflow.md): End-of-task capture quality gate, event→kind routing (task/signal/note), subagent dispatch pattern, and duplicate detection via artifact list --contains. - [Reflect workflow](https://grok-wiki.com/public/docs/superdesigndev-loopany-97bd9ab97ae8/pages/12-reflect-workflow.md): Gather recent outcomes and dismissed signals, pattern thresholds, write learning and skill-proposal artifacts, and accept/reject proposals with git-backed skill diffs. - [Periodic review](https://grok-wiki.com/public/docs/superdesigndev-loopany-97bd9ab97ae8/pages/13-periodic-review.md): Daily followups (--due today), weekly doctor + overdue sweep, monthly mission-drift checks, and closure rules for checkAt-bearing artifacts. - [Schema migration](https://grok-wiki.com/public/docs/superdesigndev-loopany-97bd9ab97ae8/pages/14-schema-migration.md): schemaVersion vs binary VERSION, SchemaVersionMismatchError recovery, loopany migrate discovery, and v0.1.0→v0.2.0 script-driven workspace transforms. - [CLI reference](https://grok-wiki.com/public/docs/superdesigndev-loopany-97bd9ab97ae8/pages/15-cli-reference.md): Full command surface from loopany --help: init, artifact/*, refs, trace, domain, followups, search, reindex, factory, kind list, doctor, migrate, and JSON stdout conventions. - [Artifact commands](https://grok-wiki.com/public/docs/superdesigndev-loopany-97bd9ab97ae8/pages/16-artifact-commands.md): create/get/list/append/status/set flags, per-kind --field validation, --slug and --content-file, journal auto-management, and required ## Outcome on terminal task statuses. - [Graph, search, and scheduling](https://grok-wiki.com/public/docs/superdesigndev-loopany-97bd9ab97ae8/pages/17-graph-search-and-scheduling.md): refs add/query, trace BFS, followups --due, hybrid search/reindex (--no-embed), factory UI (--port/--no-open), and audit.jsonl side effects. - [Configuration reference](https://grok-wiki.com/public/docs/superdesigndev-loopany-97bd9ab97ae8/pages/18-configuration-reference.md): config.yaml keys (schemaVersion, enabled_domains), environment variables LOOPANY_HOME, LOOPANY_SKIP_VERSION_CHECK, LOOPANY_EDITOR, and SCHEMA_VERSION guard behavior. - [Artifact lifecycle example](https://grok-wiki.com/public/docs/superdesigndev-loopany-97bd9ab97ae8/pages/19-artifact-lifecycle-example.md): End-to-end recipe: signal → task with led-to/addresses edges, status transitions, brief output, and journal linkage—mirroring test/scenario.e2e and skill-regression flows. - [Self-improvement example](https://grok-wiki.com/public/docs/superdesigndev-loopany-97bd9ab97ae8/pages/20-self-improvement-example.md): Recipe: three done tasks with outcomes → reflect writes learning + pending skill-proposal → user accepts → skill file diff and proposal Outcome recorded. - [Build and test](https://grok-wiki.com/public/docs/superdesigndev-loopany-97bd9ab97ae8/pages/21-build-and-test.md): bun install, typecheck, bun test unit/e2e, compiled binary via bun build --compile, and skill-regression.sh requirements (claude CLI, API key). - [Doctor and troubleshooting](https://grok-wiki.com/public/docs/superdesigndev-loopany-97bd9ab97ae8/pages/22-doctor-and-troubleshooting.md): doctor checks (workspace, schema version, kinds, artifacts, references, onboarding), common failures (WorkspaceNotFound, Zod validation, missing search index), and factory/reindex recovery steps. ## Source Files - `CLAUDE.md` - `injections/resolver-memory.md` - `INSTALL_FOR_AGENTS.md` - `ONBOARDING.md` - `package.json` - `README.md` - `skills/loopany-capture/SKILL.md` - `skills/loopany-core/conventions/relations.md` - `skills/loopany-core/conventions/taxonomy.md` - `skills/loopany-core/kinds/journal.md` - `skills/loopany-core/kinds/learning.md` - `skills/loopany-core/kinds/mission.md` - `skills/loopany-core/kinds/note.md` - `skills/loopany-core/kinds/person.md` - `skills/loopany-core/kinds/signal.md` - `skills/loopany-core/kinds/skill-proposal.md` - `skills/loopany-core/kinds/task.md` - `skills/loopany-core/SKILL.md` - `skills/loopany-reflect/SKILL.md` - `skills/loopany-resolver/SKILL.md` - `skills/loopany-review/references/daily.md` - `skills/loopany-review/references/monthly.md` - `skills/loopany-review/references/weekly.md` - `skills/loopany-review/SKILL.md` - `skills/migrations/README.md` - `skills/migrations/v0.1.0-to-v0.2.0/SKILL.md` - `src/cli.ts` - `src/commands/argv.ts` - `src/commands/artifact-append.ts` - `src/commands/artifact-create.ts` - `src/commands/artifact-get.ts` - `src/commands/artifact-list.ts` - `src/commands/artifact-set.ts` - `src/commands/artifact-status.ts` - `src/commands/body-input.ts` - `src/commands/doctor.ts` - `src/commands/domain.ts` - `src/commands/factory.ts` - `src/commands/followups.ts` - `src/commands/init.ts` - `src/commands/migrate.ts` - `src/commands/refs.ts` - `src/commands/reindex.ts` - `src/commands/search.ts` - `src/commands/trace.ts` - `src/core/artifact-store.ts` - `src/core/audit.ts` - `src/core/config.ts` - `src/core/engine.ts` - `src/core/kind-registry.ts` - `src/core/link-parser.ts` - `src/core/operations.ts` - `src/core/references.ts` - `src/core/search-store.ts` - `src/core/slug.ts` - `src/ui/editor.ts` - `src/ui/server.ts` - `src/version.ts` - `test/artifact-store.test.ts` - `test/cli.e2e.test.ts` - `test/config.test.ts` - `test/helpers/cli.ts` - `test/kind-registry.test.ts` - `test/migration-framework.test.ts` - `test/migration-v0.1-to-v0.2.e2e.test.ts` - `test/references.test.ts` - `test/scenario.e2e.test.ts` - `test/skill-regression.sh` - `tsconfig.json`