agentleFS
smgglrs-aismgglrs-ai/navra/.claude/skills/navra-init/SKILL.md

navra-init

Skill2 starsChanged 5 months agoApache-2.0View on GitHub

Set up navra for a new user — detect environment, generate config, create tokens, install service

The file

We split this skill into the rules it gives an agent

3 rules. About 0 are common, 0 are distinctive, and 3 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 3

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Run /navra-init when a user wants to start using navra as their MCP gateway.

    line 10
  2. Very specific:

    If navra is installed and in PATH:

    line 15
  3. Very specific:

    If navra is not in PATH, build and run from the repo:

    line 30

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill 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
SKILL.md

Set up navra for a new user using the built-in navra init command.

Usage

Run /navra-init when a user wants to start using navra as their MCP gateway.

Primary: navra init

If navra is installed and in PATH:

# Interactive setup (recommended for first-time users)
navra init

# Non-interactive with explicit options
navra init --quiet --agent-name claude-code --project dev --safety standard

# Preview config without writing
navra init --quiet --dry-run --project dev

Fallback: build from source

If navra is not in PATH, build and run from the repo:

cargo run -- init

CLI Options

FlagDescriptionDefault
--quietSkip interactive promptsfalse
--agent-name NAMEAgent nameauto-detect
--safety LEVELstandard, strict, minimalstandard
--project TYPEdev, data, ops, customdev
--model BACKENDollama, mistral, anthropic, openai-compat, nonenone
--model-url URLBase URL for openai-compat-
--api-key KEYAPI key for model backend-
--allow DIRSComma-separated directory globs~/Code/**
--install-serviceInstall systemd user servicefalse
--dry-runPrint config to stdoutfalse
-o, --output PATHConfig output path~/.config/navra/config.toml

What it does

  1. Detects the agent runtime (Claude Code, Goose, or custom)
  2. Selects project type to determine which MCP servers to enable
  3. Configures model backend (local Ollama or cloud API)
  4. Sets safety level (maps to navra safety profiles)
  5. Configures allowed/denied directory patterns
  6. Generates a BLAKE3-hashed agent token
  7. Writes config.toml (backs up any existing config)
  8. Optionally installs systemd user service
  9. Prints connection instructions for the detected agent

Notes

  • The token is displayed once and cannot be recovered
  • Existing config is backed up to config.toml.bak.<timestamp>
  • Safety levels map: standard -> standard, strict -> guardian, minimal -> secrets-only
  • For dev projects, both built-in file/git modules and upstream MCP servers are enabled

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.