agentleFS
inceptyon-labsinceptyon-labs/TARS/AGENTS.md

TARS

AGENTS.md38 starsChanged 11 months agoMITView on GitHub

Desktop app for managing Claude Code configuration (skills, agents, commands, hooks, MCP servers, plugins, profiles). See README for features and usage. - Frontend lives in apps/tars-desktop: bun install, then bun run tauri dev / bun run tauri build. - Rust workspace: cargo build, cargo test, cargo run -p tars-cli -- scan. - Frontend tests: bun run test:run (Vitest + React Testing Library, *.test.ts(x)), e2e bun run test:e2e (Playwright). - Coverage: bun run test:coverage (v8). There is no cargo tarpaulin setup.…

  • 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,736 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 repositoryOne other file it gives its agents.

The file

We split this AGENTS.md into the rules it gives an agent

1 rule. About 0 are common, 1 is distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Never execute code from scanned configs.

    line 37

≈ “Common” is an estimate: at least 1 in 5 of the 16,597 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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
AGENTS.md

TARS — agent notes

Desktop app for managing Claude Code configuration (skills, agents, commands, hooks, MCP servers, plugins, profiles). See README for features and usage.

Build & test

  • Frontend lives in apps/tars-desktop: bun install, then bun run tauri dev / bun run tauri build.
  • Rust workspace: cargo build, cargo test, cargo run -p tars-cli -- scan.
  • Frontend tests: bun run test:run (Vitest + React Testing Library, *.test.ts(x)), e2e bun run test:e2e (Playwright).
  • Coverage: bun run test:coverage (v8). There is no cargo tarpaulin setup.
  • Lint/typecheck before commit: bun run lint, bun run typecheck, cargo fmt --all, cargo clippy --all -- -D warnings.
  • There is no format script — Prettier runs via the pre-commit hook. Enable hooks after clone: git config core.hooksPath .githooks.

Modules

  • crates/tars-scanner — non-destructive discovery of config across scopes, collision detection.
  • crates/tars-core — profiles, diff/apply/rollback engine, SQLite storage.
  • crates/tars-providers — AI provider integrations (key validation, model discovery, pricing); consumed by src-tauri/src/commands/api_keys.rs.
  • crates/tars-cli — CLI wrapper for the scanner.
  • apps/tars-desktop/src-tauri — Tauri IPC backend over the crates.

Invariants

  • Tauri commands return Result<T, String>; frontend shows failures with toast.error() (Sonner). Never panic in library code.
  • unsafe_code = "forbid" workspace-wide via [workspace.lints]; clippy must pass with -D warnings.
  • IPC types live in apps/tars-desktop/src/lib/types/ — keep Rust and TS shapes in sync when changing commands.
  • Never execute code from scanned configs; validate paths against traversal and sanitize anything passed to a shell.
  • Discovery-first, safe-by-default: scan before modifying; changes get diff preview, backup, and rollback.

Configuration scopes

Precedence high → low: Managed > Local > Project > User. The full per-OS path table lives in README ("Configuration Scopes") — single source, don't duplicate it here.

Architecture diagram

docs/architecture.json is the Archify spec for the system overview (webview UI, Tauri backend, scanner, core engine, providers, SQLite, the apply-a-profile path, the webview and Rust-process trust boundaries, and the external services), with file:line sources pinned to a commit. If a change adds, removes, or rewires a top-level component, external service, trust boundary, or the deploy shape, update the spec after committing it: re-pin meta.repository.revision to that commit, fix the affected nodes, edges, and sources, re-render with the archify skill (finalize ... --repo-root .), and commit the spec. Internal refactors and shifted line numbers don't need it. Rendered HTML goes in .archify/ (gitignored).

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.