monorepo
AGENTS.md2 starsChanged 2 months agoApache-2.0View on GitHub
Agent context is layered in three tiers, and each file states only what its parent tier does not (the delta rule): When working inside a project, read its own AGENTS.md first, then its area file, then this file. When adding context, put it at the most general tier that fully owns it and link rather than duplicate downward; never restate a parent tier or the project's own README.md. There is no per-project CLAUDE.md — Claude Code and Cursor both read…
- Reads credentials
- Installs packages
- Commits and pushes
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about checking a change actually works.
Of the AGENTS.md files we read, the 11,773 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 repository27 other files it gives its agents.
- applications/AGENTS.mdAGENTS.md
- databases/AGENTS.mdAGENTS.md
- infra/AGENTS.mdAGENTS.md
- packages/AGENTS.mdAGENTS.md
- skills/AGENTS.mdAGENTS.md
- tools/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- .cursor/rules/nx-rules.mdcCursor rule
- frontend-designSkill
- grillingSkill
- improveSkill
- link-workspace-packagesSkill
- monitor-ciSkill
- nx-workspaceSkill
- agents-ralphSkill
- github-commitSkill
- github-pull-requestSkill
- github-squashSkill
- ot-foldersSkill
- ot-generatorsSkill
- ot-loopSkill
- ot-onboardingSkill
- ot-plansSkill
- ot-postgresSkill
- ot-skill-syncSkill
- ot-stackSkill
- ot-worktreeSkill
The file
We split this AGENTS.md into the rules it gives an agent
10 rules. About 0 are common, 3 are distinctive, and 7 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.
7
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 7
When running tasks (for example build, lint, test, e2e, etc.), always prefer running the task through nx (i.e.
- Very specific: line 11
NEVER guess CLI flags - always check nx_docs or --help first when unsure
- Distinctive: line 20
USE for: advanced config options, unfamiliar flags, migration guides, plugin configuration, edge cases
- Very specific: line 21
DON'T USE for: basic generator syntax (nx g @nx/react:app), standard commands, things you already know
- Very specific: line 84
Discoverability: Run pnpm exec workflow-ralph --help (and other bins) for usage.
- Very specific: line 100
Optional properties extremely sparingly: Prefer userId: string | undefined over userId?: string, so a caller cannot silently forget it.
- Very specific: line 106
Generators first: Before hand-writing a component, route, service or package, check @tools/generators via the ot-generators skill.
- Distinctive: line 169
NEVER attribute work to a tool, model or assistant: Not Cursor, not Claude, not Copilot, not whatever ships next — the rule is about the …
- Distinctive: line 173
No exceptions: Do not add one; do not suggest one.
- Very specific: line 196
Cursor with a custom Ollama model: start the proxy with pnpm ollama-proxy (requires Ollama and optionally Caddy at https://ollama.local).
≈ “Common” is an estimate: at least 1 in 5 of the 16,595 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
<!-- nx configuration start--><!-- Leave the start & end comments to automatically receive updates. -->General Guidelines for working with Nx
- For navigating/exploring the workspace, invoke the
nx-workspaceskill first - it has patterns for querying projects, targets, and dependencies - When running tasks (for example build, lint, test, e2e, etc.), always prefer running the task through
nx(i.e.nx run,nx run-many,nx affected) instead of using the underlying tooling directly - Prefix nx commands with the workspace's package manager (e.g.,
pnpm nx build,npm exec nx test) - avoids using globally installed CLI - You have access to the Nx MCP server and its tools, use them to help the user
- For Nx plugin best practices, check
node_modules/@nx/<plugin>/PLUGIN.md. Not all plugins have this file - proceed without it if unavailable. - NEVER guess CLI flags - always check nx_docs or
--helpfirst when unsure
Scaffolding & Generators
- For scaffolding with
@tools/generators(react-router,nestjs,react,package,folders), ALWAYS invokeot-generatorsFIRST — before MCP tools. Seeskills/ot-generators/SKILL.md(NX_ISOLATE_PLUGINS=false,pnpm nx, comma-separated--namebatching, AGENT_USAGE). - For other scaffolding (apps/libs via Nx plugins, project structure, setup not covered by
@tools/generators), readnx_docsor the plugin's own docs — there is no generic generator skill.
When to use nx_docs
- USE for: advanced config options, unfamiliar flags, migration guides, plugin configuration, edge cases
- DON'T USE for: basic generator syntax (
nx g @nx/react:app), standard commands, things you already know ot-generatorscovers@tools/generatorsdiscovery and flags — don't call nx_docs just to look up routine generator syntax
<!-- nx configuration end-->Per-project AGENTS.md
Agent context is layered in three tiers, and each file states only what its parent tier does not (the delta rule):
- This file + CLAUDE.md — monorepo-wide conventions (Nx, pnpm-only, generators-first, OT plans, GraphQL codegen flow, code style, agent-asset SSOT).
- Area files —
applications/AGENTS.md,packages/AGENTS.md,tools/AGENTS.md,databases/AGENTS.md— facts shared across one family (e.g. the source-first/no-build pattern, React Router app conventions, migration rules). - Per-project
AGENTS.md— one per Nx project, carrying only that project's deltas: non-obvious commands, key paths, invariants/gotchas that break PRs, and boundaries.
When working inside a project, read its own AGENTS.md first, then its area file, then this file. When adding context, put it at the most general tier that fully owns it and link rather than duplicate downward; never restate a parent tier or the project's own README.md. There is no per-project CLAUDE.md — Claude Code and Cursor both read nested AGENTS.md natively.
Agent and editor folders
For where agent- and editor-specific config lives (.cursor/, .claude/, .agents/, skills/, duplication strategy, where to edit for common tasks), see docs/monorepo/agent-editor-folders.md. This file covers cross-editor handbook topics (Nx, OT, workflow CLI); that doc covers physical layout and canonical ownership.
Git worktrees (tool-agnostic)
Worktrees are handled by the portable ot-worktree skill, which exposes three composable actions:
| Action | Command | Job |
| create | pnpm worktree:new <name> | Create the worktree, then run this repo's provisioner |
| heal | pnpm worktree:heal | Provision a worktree that was made outside the skill (runs before :dev) |
| destroy | pnpm worktree:remove <name> | Teardown hook, git worktree remove, prune |
The Claude WorktreeCreate hook and Cursor's .cursor/worktrees.json route through the same create action, so setup is not tool-specific. A plain git worktree add provisions nothing (git has no post-add hook) but self-heals on first pnpm nx run <app>:dev.
Worktrees live at <root>/<org>/<repo>/<worktree>; the root defaults to ~/.openthrottle/worktrees, a hidden directory OpenThrottle owns outside every repo. Override the root with OPENTHROTTLE_WORKTREE_ROOT in the environment or in the target repo's .env (documented in .env.default) — OT always organizes <org>/<repo> beneath whatever root it gets, so a configured root behaves like the default. The org comes from the git remote, not the directory name, so two orgs' monorepo cannot collide. Worktrees created before this stay where they are — every action reads git worktree list.
destroy is deliberately conservative: it refuses the primary checkout, refuses a dirty worktree without --force, leaves the branch alone unless you pass --delete-branch (merged-only, unless also --force), and offers --dry-run. Details: docs/monorepo/worktree-port-allocation.md.
Contributor workflow (skills, personas, prompts)
| Action | Path | Notes |
| Write skills | skills/<slug>/SKILL.md | OT-owned skills are hand-authored here (SSOT). Install external ones 1:1: npx skills add <owner>/<repo> --skill <name> --agent universal. Never hand-edit .agents/skills/ or <agent>/skills/ — generated by ot-skill-sync. Policy + tracking: docs/Skills.md. |
| Write code style | docs/monorepo/code-style.md + this file § Code style | The always-on statement is § Code style above; the doc holds rationale and examples. The per-editor rules tree these replaced is retired — there is no .mdc layer any more. |
| Write personas / prompts | .agents/personas/, .agents/prompts/ | Disk-only in MVP; DB ingest deferred to plan 1.5 (D2). |
| Validate locally | pnpm nx run monorepo:check-agent-assets-ssot | Runs ot-skill-sync sync.sh --check (skill layout). Run bash skills/ot-skill-sync/scripts/sync.sh first to fix skill drift. |
| DB index (read-only) | custom_prompts via GraphQL | Git is write authority; ingest from disk → DB is plan 1.5 — do not edit prompts in the DB. |
Prompt filename prefixes (.agents/prompts/, no frontmatter — slug derives from the filename): Before_* / After_* are lifecycle hooks injected around a run; Job_* are standalone scheduled runs (recurring audits invoked via Ralph --prompt-file or an OT scheduled job) that are read-only on source and file their findings as a single OpenThrottle plan. Details: docs/monorepo/agent-editor-folders.md.
Editor-native (not generated from an in-repo SSOT): .cursor/hooks.json, .cursor/mcp.json (from mcp.json), .cursor/worktrees.json, .cursor/settings.json. See CONTRIBUTING.md § Agent assets. Nx Console writes a generated Nx rule file into Cursor's own config directory from outside this repo; it is gitignored and harmless.
OpenThrottle Agent Skills
OT-owned skills are authored under skills/ and surfaced to every tool via the generated .agents/skills/ view (ot-skill-sync). Each skill’s YAML description lists USE WHEN triggers; prefer these for OpenThrottle-specific workflows alongside the generic Nx skill (nx-workspace) above. Full policy + installed set: docs/Skills.md.
- ot-generators —
@tools/generators,NX_ISOLATE_PLUGINS=false,pnpm nx, AGENT_USAGE alignment:skills/ot-generators/SKILL.md - ot-stack — openthrottle-server GraphQL, databases/embeddings, openthrottle-developer UI, openthrottle-mcp package:
skills/ot-stack/SKILL.md - ot-postgres — SQL migrations,
COMMENT ON TABLE/ column comments, idempotent DDL indatabases/migrations/:skills/ot-postgres/SKILL.md - ot-plans — openthrottle-mcp, plans/tasks,
Plan-Id/Task-Id, post-merge work-ledger commit recording:skills/ot-plans/SKILL.md - agents-ralph — the Ralph loop prompt: one task at a time, status sync, commit cadence:
skills/agents-ralph/SKILL.md - github-commit — conventional commits, staging,
Plan-Id/Task-Idfooters:skills/github-commit/SKILL.md - For the Ralph CLI, queue spawn vs orchestrator, and BullMQ wiring there is no skill — read
tools/workflows/README.md.
Workflow CLI (@tools/workflows)
- Discoverability: Run
pnpm exec workflow-ralph --help(and other bins) for usage. Seetools/workflows/README.mdfor bin list. - Run:
pnpm exec workflow-ralph --plan <openthrottle-plan-uuid>(or--task <openthrottle-task-uuid>for task-centric). OpenThrottle (OT) required; seetools/workflows/README.md. Optional defaults:.workflow-ralph.json(see.workflow-ralph.json.example,docs/workflows/ralph-config-migration.md). - API queue (spawn vs orchestrator):
enqueuePlanRunruns nestedworkflow-ralphin the worker;enqueuePlanRalphOrchestratorruns the in-process GraphQL Ralph orchestrator (no child CLI). Seetools/workflows/README.md§ Worktree + BullMQ workflow. Docker, worker cwd, and compose follow-ups: investigation plan677b6849-1912-4fa8-a5f6-d8233f2cdf97. - Commit as you go, push once per plan: When running Ralph (or working with OT plans/tasks), commit after each task — conventional commits, with
Plan-IdandTask-Idin the body or footer (traceability is non-negotiable) — but push once per plan, not once per task. Every push to a branch with a ready PR triggers a full CI run, so an N-task plan used to cost N CI runs of a branch nobody was reviewing yet; batching gives the same total validation over one run. Keep the PR in draft until the last task isCOMPLETED, thengh pr ready. Push mid-plan only when you genuinely need to (handing off, or a worktree at risk of being reaped). See docs/monorepo/ci-cost.md. Ifmainuses a merge queue, treatgh pr merge --autoas an enqueue step until the PR actually reportsmergedAt; record OT work-ledger commits only after the queue lands the PR, using the landedmergeCommitSha/ default-branch SHA rather than the branch head. Seedatabases/README.md§ Commit links.
Code style
This section is the normative statement — one line per rule. Rationale, code examples and the enforcement mechanism for each live in docs/monorepo/code-style.md; open it when a line here is not enough. Together they replace the retired per-editor .mdc rules tree, which was Cursor-specific and covered fewer surfaces than these two files do.
The rules are grouped by who catches you. The honor-system ones lead, because they are the reason this section exists: nothing will stop you breaking them.
Honor system — no machine check exists
- Model variant shapes as discriminated unions, not a bag of optionals. A
statusfield alongside optionaldata/errorpermits states the system can never be in. ↳ interface extends, never&, when modelling inheritance — the intersection operator has bad checker performance. ↳readonlyon object type properties by default; omit it only when the property is genuinely mutable. ↳- Optional properties extremely sparingly. Prefer
userId: string | undefinedoveruserId?: string, so a caller cannot silently forget it. ↳ - Return a result type instead of throwing wherever the caller would need a manual
try/catch. Throw only where the throw itself is the desired system behavior (e.g. inside a request handler). ↳ - JSDoc only when the behavior is not self-evident, behind an inline
@descriptiontag, with@linkfor same-file references. Exports that are package public API need a@publictag so Knip keeps them. ↳ - kebab-case file names, except React components which are PascalCase — the one naming clause no linter can see. ↳
- Never pick a library version from memory — run
pnpm add -D <pkg> -wand let the resolver decide. ↳ constoverlet; nevervar.async/awaitover.then().import * as React from 'react';↳- Generators first. Before hand-writing a component, route, service or package, check
@tools/generatorsvia theot-generatorsskill; every invocation needsNX_ISOLATE_PLUGINS=false. A component in a package is a different generator from one in an application. If no generator fits, say so explicitly before writing custom code. ↳ - No deep package imports — import a package's main entry only, and re-export from its
index.ts. - UI comes from
@openthrottle/react-router-shadcn(source:packages/react-router-shadcn/src/components). A missing primitive gets added to that package, never inlined in an app. Style with the existing Tailwind + shadcn tokens; do not hardcode raw colors or spacing. ↳ - Per-row table actions use
GlobalPopover+GlobalPopoverActionsHeaderfrom@openthrottle/react-router-ui-global— never a hand-rolledDropdownMenuoverflow. Bulk and toolbar bars are a different surface. ↳ - Tests use
component, notscreen, to get elements, anduserEvent, notfireEvent;waitForfor async DOM. Onedescribeperifbranch, plus edge cases. ↳ - Assert behavior and structure, not copy — roles, labels,
href, test ids. When exact copy is the contract, single-source it in the area'sdata/data.copy.tsand have both the component and the spec import that same constant. ↳
Enforced — ESLint error or a compiler flag; CI fails
- No new TypeScript enums — use an
as constobject. Existing enums are grandfathered. ↳ - No non-erasable TypeScript —
erasableSyntaxOnlyintsconfig.base.jsonrejects constructor parameter properties,enum,namespaceandimport x = require()withTS1294. Only the decorated (NestJS) tier opts out; a package whoseexportsname./src/never can, and also bans decorators throughsourceFirstEslintConfig. Generated GraphQL clients used to force six more opt-outs and no longer do — codegen emitsas constobjects rather thanenum. ↳ - No
ascasts in any form (x as T,<T>x,x as unknown as T). Narrow with a runtime check, write a type predicate, or parse at the boundary. ↳ - No
anyanywhere, generic function bodies included. Useunknown+ narrowing, a generic parameter, or an overload signature. ↳ import typeat the top level, not inlineimport { type … }. Auto-fixable. ↳- No default exports outside the framework carve-outs already in the config. Hitting the rule in a new framework file means adding a glob with a note naming the consumer — not an inline disable. ↳
- File extensions on relative imports in ESM + nodenext packages — write
./foo.tsandtscships./foo.js. Node's ESM resolver does no extension searching andtscnever invents a specifier it was not given, so this isTS2835attypecheckeither way. Don't type them by hand: those packages spreadnodeEsmEslintConfigandeslint --fixwrites them. Does not apply to themoduleResolution: bundlertier (everyreact-router-*, resolved by Vite) or to CommonJS packages. Replacing this with a bundler was evaluated and rejected — esm-import-extensions-and-bundlers.md has the measurements. - Alphabetize object keys and interface members, and GraphQL selection sets in
*.graphqldocuments. Alphabetize arrays too when order carries no meaning (that half is honor system). Not the generatedschema.gql, not NestJS decorator order. ↳ - Indexed access yields
T | undefined—noUncheckedIndexedAccessis on. Handle it with a guard or a default;!and casts are not the answer. ↳ - No
awaitinside a loop — collect the promises andPromise.all. Deliberate sequencing is the one case for an inline disable with a reason. ↳ - camelCase variables and functions, PascalCase types/classes/interfaces/components, ALL_CAPS constants,
T-prefixed type parameters. ↳ - Components export only their component + props. Hardcoded data, lists, mocks and user-facing copy live in the nearest
data/folder (data.<name>.ts; copy →data.copy.ts). Pure data files do not warrant their own spec. ↳ - Keep the generated component shape — the six ordered section markers (
// Hooks,// Setup,// Handlers,// Markup,// Life Cycle,// 🔌 Short Circuit) even when a section is empty, one component per file, 210-line cap. ↳ - Unpack
propsbefore// Hooks— the identity destructure and any nested identity destructures go in the pre-Hooks block, derived values under// Setup; never unpack after// Hooksor after Short Circuit. Same for routeRoute.ComponentProps. (Warned.) ↳ - Return types on module-boundary functions. (Warned, via
explicit-module-boundary-types; the broaderexplicit-function-return-typeis deliberatelyoff.) ↳
Owned elsewhere
- Server, GraphQL and NestJS conventions — resolver
Result()/PaginatedResult()/ListResult()return types, backwards-compatible schema changes (deprecate, never remove), entity and service testing: theot-stackskill. - Where files go and what they are named — folder layout, application vs package, module-boundary tags: the
ot-foldersskill. - Package READMEs: for
packages/**/README.md, list pnpm first in install sections and usepnpm nx run <project>:<target>in Nx examples. Templates live undertools/generators/src/generators/package/files/; conventions are summarized in CONTRIBUTING.md and theot-generatorsskill. nx sync(TypeScript project references): usepnpm nx sync:checkto report drift (it also gatescheck:local) andpnpm nx syncto fix it, inspecting the diff before committing. The generator is deliberately not attached to the task pipeline, sonx run/affectednever sync and never fail on drift. Anapplications/*→applications/*reference is always wrong. Full decision and measurements: docs/monorepo/NX.md.- Knip (dead code): Run
pnpm nx run monorepo:knipfor reports only. Do not runknip --fixorknip --fix-type exportson application UI—it strips intentionalexporton component prop types. Optionalknip --fix-type dependenciesonly after human review. See docs/monorepo/Knip.md. CI gate priorities and owners: docs/monorepo/CI-quality-gates.md. CI cost model — what CI costs, why the free tier depends on the repo being public, and the checklist before adding a job / changing aruns-on/ adding a schedule: docs/monorepo/ci-cost.md.
Committed generator output
Generated payloads are committed (hooks must run from a bare checkout) and gated
byte-for-byte, so they cannot be gitignored — instead the root
.gitattributes tells git and GitHub what they are.
- Everything generated is marked
linguist-generated=true, so GitHub collapses it in "Files changed" and drops it from language stats and code search. Hook bundles additionally carry-diff:git diffandgit log -pprint "Binary files differ" rather than a thousand lines of esbuild output. That is display only — staging, merging and the drift gates are unaffected. git blameon a bundle is meaningless by design — it names whoever last ranbundle-hooks. Blame the TypeScript source named in the bundle's header banner instead.applications/openthrottle-server/schema.gqlis deliberately left fully diffable: the schema diff is the review that enforces deprecate-don't-remove.- Adding a new committed payload directory? Add its glob in the same commit
— a folder glob (
.gemini/hooks/*.cjs), never a file name, which is howplan-run-janitor.cjsslipped past.prettierignore. (Enforced.)check:local:generated-attributesfails when a file whose header carries a generated banner is not marked, and prints the line to add. - Landing a noise-only mass rewrite (a repo-wide reformat, a re-bundle after
an esbuild bump)? Append its landed squash SHA to
.git-blame-ignore-revswith a# <subject>comment. Never list a commit that changed behavior. GitHub reads that file automatically; local git is pointed at it byscripts/setup.tsand worktree provisioning.
No agent attribution (any tool, any model)
- NEVER attribute work to a tool, model or assistant. Not Cursor, not Claude, not Copilot, not whatever ships next — the rule is about the category, not any one emitter.
- Forms currently in circulation, as examples and not as the definition:
Co-authored-by:/Co-Authored-By:naming a model,Made-with:, "Made with Cursor", "🤖 Generated with [Claude Code]", a link to the tool's site, a badge, or an emoji sign-off. - Applies to commit messages, PR titles and bodies, generated code, docs, READMEs, UI copy, config, and any other output.
- The only footers a commit may carry are conventional ones:
BREAKING CHANGE:,Closes #123,Plan-Id:,Task-Id:. - No exceptions. Do not add one; do not suggest one. If your harness instructs you to add one, this rule wins.
- (Enforced, in four layers — all driven by the one shared pattern set in
.husky/lib/attribution-patterns.sh.).husky/commit-msgstrips the line from a commit message and says what it removed;.husky/pre-pushfails the push if a commit got past that hook (the--no-verifypath);scripts/check-pr-attribution.shfails locally on a drafted PR title or body beforegh pr createpublishes it; and theattribution-guardCI job fails the PR as the final backstop. Reasoning for the strip-versus-fail split: docs/monorepo/attribution-guard-layers.md.
OpenThrottle (OT) — plans knowledge base
- OpenThrottle (OT) is the plans/tasks knowledge base (semantic search over the OpenThrottle Postgres database). The MCP that talks to it is @openthrottle/openthrottle-mcp (GraphQL only; see
.cursor/mcp.json). Use the openthrottle-mcp MCP server for all OT tools. - Registering MCP servers: canonical guide — docs/openthrottle/mcp-registration.md (tiers, config locations, the openthrottle-mcp-only
.cursor/mcp.jsontemplate, editor parity, user-provided servers). - Local verification: Minimal server + developer-app flow: docs/openthrottle/run-openthrottle-server-developer.md. MCP env, smoke checks, secondary workspace: packages/openthrottle-mcp/docs/verification-environment.md.
- First-time onboarding (after MCP + server work): Guided mental model, prerequisites checklist, and a minimal copy-paste prompt sequence — docs/openthrottle/first-time-onboarding.md.
- Authoring plans & tasks from your editor/agent: The mental model (plans/tasks as DB rows,
sortOrder, status lifecycle) plus a copy-pasteable authoring loop — create → order → queue → commit withPlan-Id/Task-Id→ record the squash on the work ledger on merge — with a full worked example: docs/openthrottle/authoring-plans-via-mcp.md. - Tool selection:
ot-plans— when to use which OT MCP tool ("ask OT", status queries, semantic search, list sources), plus the plan/task lifecycle and the post-merge work-ledger flow. - OT skills:
ot-*(authored inskills/ot-*, surfaced via the generated.agents/skills/ot-*) —/ot-plansfor plan and task work (create, edit, list by status, ask the knowledge base),/ot-loopto drive a plan to completion,/ot-onboardingfor orientation. - For "ask OpenThrottle …" or "ask OT …" or "OT, …", follow the OT rule and use the openthrottle-mcp MCP server; answer only from retrieved chunks.
- PRD summarization: Plans and tasks have an optional
summaryfield. Fill it at completion or when closing work with next actions, usage guides, or (for tasks) why blocked. Seedatabases/README.md§ PRD summarization.
Plans in OT only; fail loudly
- Plans and tasks MUST be created in OpenThrottle via the OT MCP (
create_plan,create_task). Do not create plans in Markdown files or underdocs/. - If the OT MCP is unavailable or plan creation fails: Report the error clearly to the user. Do not silently fall back to writing a plan to a
.mdfile or skipping. Fail loudly so the user can fix the environment or connectivity.
Local embeddings (Ollama)
- For local-only embedding (no OpenAI key): set
OLLAMA_BASE_URLand/orOLLAMA_EMBEDDING_MODEL;pnpm run database:import-docs/pnpm run database:import-agent-assetsand openthrottle-server then use Ollama when configured. Seedatabases/README.md(embedding dimension strategy) andscripts/ollama.sh. - Cursor with a custom Ollama model: start the proxy with
pnpm ollama-proxy(requires Ollama and optionally Caddy athttps://ollama.local). See docs/monorepo/Ollama.md § Using Cursor with Ollama via the proxy and tools/ollama-proxy/README.md. - When using Caddy (tools/caddy): set
OLLAMA_BASE_URLto the Caddy-proxied URL sodatabase:import-docs,database:import-agent-assets, and other consumers use one stable endpoint:- Option B (local domains):
https://ollama.local - Option A (path-based):
https://localhost/ollamaSee root.env.defaultanddocs/monorepo/Ollama.md. For HTTPS with Caddy's local certs, trust Caddy's CA (or see tools/caddy/README.md) so Node/fetch and browsers do not hit certificate errors.
- Option B (local domains):
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.

