agentleFS
maridlabsaimaridlabsai/jini/CLAUDE.md

jini

CLAUDE.md1 starsChanged 5 months agoApache-2.0View on GitHub

Jini is a public, free-tier-first AI CLI and app framework written in Go. It should feel familiar to Claude Code, Codex, ChatGPT, and Gemini users: compact answers by default, direct action when safe, explicit approval for side effects, and no custom conversational ceremony. Commercial-only productivity-suite work belongs in ../jini-commercial, not this repo. Claude Code agents and skills in this repo are development helpers only; they are not free-tier runtime features. Superseded specs live in specs/archive/ with banners naming their replacement.…

The file

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

12 rules. About 0 are common, 8 are distinctive, and 4 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈8

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 4

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Keep shell output precise and Claude/Codex-like.

    line 25
  2. Distinctive:

    Do not reintroduce Start/Keep, work snapshots, generic drafts, or verbose safety blocks for trivial prompts.

    line 26
  3. Distinctive:

    Treat token frugality as P0.

    line 27
  4. Distinctive:

    Prefer the shared route engine for CLI and app behavior.

    line 28
  5. Distinctive:

    Before claiming release readiness, run the required gates and inspect the changed UX path directly.

    line 30
  6. Distinctive:

    Read the smallest canonical spec set for the touched area.

    line 34
  7. Distinctive:

    Add or update tests for behavior changes.

    line 37
  8. Very specific:

    Run tools/run_required_gates.sh commit from the repo root before commit.

    line 38
  9. Distinctive:

    Commit only after the worktree diff has been reviewed.

    line 39
  10. Very specific:

    Use project agents under .claude/agents/ when the work benefits from a focused second pass:

    line 43
  11. Very specific:

    Use project skills under .claude/skills/ for repeatable work:

    line 56
  12. Very specific:

    Use project slash commands under .claude/commands/ for fast repeated workflows:

    line 70

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

Jini Claude Code Guide

Project Identity

Jini is a public, free-tier-first AI CLI and app framework written in Go. It should feel familiar to Claude Code, Codex, ChatGPT, and Gemini users: compact answers by default, direct action when safe, explicit approval for side effects, and no custom conversational ceremony.

Commercial-only productivity-suite work belongs in ../jini-commercial, not this repo. Claude Code agents and skills in this repo are development helpers only; they are not free-tier runtime features.

Canonical Files

  • Product contract: specs/number-one-platform-prd.md
  • Decision record: specs/product-settling-decisions.md; rebuild rationale: specs/prd-rebuild-design.md
  • PRD trace: specs/prd-implementation-trace.md
  • CLI behavior contract: specs/product-rewrite-contract.md
  • Runtime routing: specs/execution-routing-policy.md (runtime modes, selection heuristics, and device-capability routing absorbed in §Absorbed Policies)
  • Offline/local model policy: specs/local-model-support-matrix.md (offline strategy, SLM frontline policy, and device runtime gate absorbed in §Absorbed Policies)
  • Competitive bar: specs/golden-competitive-benchmark.yaml, specs/competitive-release-plan.md
  • Gates: specs/engineering-gate-matrix.md, tools/run_required_gates.sh

Superseded specs live in specs/archive/ with banners naming their replacement. Do not cite archived files in new work.

Non-Negotiables

  • Keep shell output precise and Claude/Codex-like. Simple questions should get simple answers.
  • Do not reintroduce Start/Keep, work snapshots, generic drafts, or verbose safety blocks for trivial prompts.
  • Treat token frugality as P0. Avoid unnecessary file reads, generated artifacts, and long responses.
  • Prefer the shared route engine for CLI and app behavior. Do not hard-code prompt classes as one-off fixes.
  • Preserve the free/commercial boundary. Free tier may route configured tools and local models, and includes on-the-fly creation of coding-focused skills and agents (PRD §Skills And Agents); the commercial repo keeps the productivity-suite/OS feature set.
  • Before claiming release readiness, run the required gates and inspect the changed UX path directly.

Development Workflow

  1. Read the smallest canonical spec set for the touched area.
  2. Inspect the implementation and tests before editing.
  3. Make focused changes; avoid PRD drift and broad rewrites unless explicitly requested.
  4. Add or update tests for behavior changes.
  5. Run tools/run_required_gates.sh commit from the repo root before commit.
  6. Commit only after the worktree diff has been reviewed.

Claude Code Agents

Use project agents under .claude/agents/ when the work benefits from a focused second pass:

  • jini-cli-quality-reviewer: CLI transcript quality, first-minute UX, simple answers, file-edit behavior.
  • jini-route-runtime-reviewer: offline/online routing, local model fallback, provider/tool selection.
  • jini-prd-drift-reviewer: PRD alignment, stale requirement removal, competitor-scorecard consistency.
  • jini-release-gate-reviewer: install, signing/notarization readiness, docs, website, public release assets.
  • jini-security-boundary-reviewer: secrets, public repo IP leakage, sandbox/permission safety.
  • jini-llm-behavior-investigator: prompt/routing regressions and wrong intent classification.
  • jini-terminal-shell-reviewer: CLI terminal ergonomics, ANSI output, command shape, and macOS shell behavior.
  • jini-test-evidence-reviewer: alpha evidence, transcript proof, and unsupported release-readiness claims.

Claude Code Skills

Use project skills under .claude/skills/ for repeatable work:

  • debugger: diagnose a failing Jini path with the smallest useful reproduction.
  • reviewer: adversarial review of current work before continuing.
  • research: frame missing facts and evidence needed for a decision.
  • prd-drift: compare implementation or docs against canonical PRD and remove stale requirements.
  • commit-gate: run the required Jini commit gate sequence and report evidence.
  • security-scan: scan for public-repo leakage, secrets, and unsafe release posture.
  • llm-behavior: investigate prompt, intent, routing, and response-shape regressions.
  • test-evidence: require concrete transcript, gate, or visual evidence before release claims.
  • terminal-shell: review CLI/app terminal behavior against Claude Code/Codex expectations.

Slash Commands

Use project slash commands under .claude/commands/ for fast repeated workflows:

  • /gates: run the public commit gate.
  • /review: review the current diff against product, code, and release risks.
  • /route-audit: inspect routing/offline/provider behavior.
  • /prd-drift: compare work against canonical PRD and scorecards.
  • /alpha-smoke: run the alpha-tester transcript/readiness check.

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.