agentleFS
ryakerryaker/zora/.claude/skills/zora-config-advisor/SKILL.md

zora-config-advisor

Skill79 starsChanged 10 months agoMITView on GitHub

Guide users through configuring Zora agent setup by interviewing them about their workflow, then generating tailored config.toml and policy.toml files. Use when: (1) setting up Zora for a new workflow, (2) tuning security policy for a specific task, (3) choosing providers, MCP servers, or skills for a use case, (4) reviewing or tightening an existing Zora config. Triggers on \"configure Zora\", \"Zora setup\", \"policy for\", \"config for\", \"zora init help\", \"what permissions\", \"which MCP servers\".

  • Deletes or force-pushes

The file

We split this skill into the rules it gives an agent

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈5

    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
  • could be automatic: a setting could enforce it
  1. Distinctive:

    Ask the user these questions (adapt phrasing naturally):

    line 16
  2. Distinctive:

    Ask what LLM backends they have available:

    line 49
  3. Distinctive:

    Only recommend MCP servers the workflow actually needs:

    line 69
  4. Very specific:

    Use smol-toml format. Structure:

    line 97
  5. Distinctive:

    Always start narrow and offer to widen — never the reverse

    line 141
  6. Very specific:

    Every allowed_path and allowed_command should trace back to a stated workflow need

    line 142
  7. Distinctive:

    If the user says "I don't know" about security questions, default to the Safe preset

    line 143
  8. Very specific:

    Never put sudo, rm -rf, or credential paths in allowed lists unless explicitly requested

    line 144

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

Zora Configuration Advisor

Help users create or refine their Zora config.toml and policy.toml for a specific workflow.

How This Works

You conduct a structured interview (Phases 1-4), then generate ready-to-use config files. The user describes their workflow; you map it to the right permissions, providers, and tools.

Phase 1: Understand the Workflow

Ask the user these questions (adapt phrasing naturally):

  1. What should Zora do? Get a 1-2 sentence description of the task/workflow.
  2. Where does the work happen? Which directories contain the relevant code/data?
  3. What tools does the workflow use? (git, npm, python, docker, etc.)
  4. Does it need network access? Which APIs or domains?
  5. Does it need to push/deploy? Or is it read-analyze-write only?

Phase 2: Assess the Security Surface

Based on Phase 1 answers, determine:

DimensionQuestion to resolve
Filesystem scopeWhich paths need read? Write? Which are off-limits?
Shell commandsWhich specific commands? Deny-all or allowlist?
Irreversible actionsDoes the workflow push code, send emails, delete files?
Network exposureHTTPS-only? Specific domains? No network?

Preset starting point

Recommend a preset as the base, then customize:

  • Safe — no shell, read-only. Good for analysis, summarization, review.
  • Balanced — allowlisted shell, project-scoped writes. Good for most dev work.
  • Power — broader shell + filesystem. Good for ops, multi-project, data pipelines.

For preset details, see references/presets.md.

Phase 3: Select Providers and Tools

Providers

Ask what LLM backends they have available:

which claude && echo "Claude CLI found"
which gemini && echo "Gemini CLI found"
node --version

Then recommend ranking based on the workflow:

Workflow typeRecommended primaryWhy
Code refactoringClaudeBest at code reasoning
Large codebase analysisGemini1M token context
Creative writingClaudeStronger creative output
Data processingEitherBoth handle structured data well
Local/offlineOllamaFree, no network needed

MCP Servers

Only recommend MCP servers the workflow actually needs:

ServerWire it when...
GitHubWorkflow creates PRs, manages issues, searches code
Google WorkspaceWorkflow touches Gmail, Calendar, Drive, Docs
FilesystemAlways available (built-in)
Memory (Mem0)Long-running project needing cross-session context
NanobananaWorkflow generates AI images
Asset IntelligenceWorkflow manages image assets
Chrome DevToolsWorkflow tests web pages or scrapes content

Skills

List relevant skills based on the workflow domain. Skills auto-activate, so just confirm they're installed:

ls ~/.claude/skills/

For the full skill catalog and mapping, see references/skill-map.md.

Phase 4: Generate Config Files

Once all questions are answered, generate both files.

policy.toml

Use smol-toml format. Structure:

[filesystem]
allowed_paths = [...]
denied_paths = [...]
resolve_symlinks = true
follow_symlinks = false

[shell]
mode = "allowlist"  # or "deny_all" or "denylist"
allowed_commands = [...]
denied_commands = [...]
split_chained_commands = true
max_execution_time = "5m"

[actions]
reversible = [...]
irreversible = [...]
always_flag = [...]

[network]
allowed_domains = [...]
denied_domains = []
max_request_size = "10mb"

config.toml

Full structure reference: references/config-reference.md.

Present to User

Show both files with inline comments explaining each choice. Ask:

  • "Does this look right?"
  • "Any paths I should add or remove?"
  • "Want to tighten or loosen the shell policy?"

Write Files

Once approved, write to ~/.zora/config.toml and ~/.zora/policy.toml.

Guidelines

  • Always start narrow and offer to widen — never the reverse
  • Every allowed_path and allowed_command should trace back to a stated workflow need
  • If the user says "I don't know" about security questions, default to the Safe preset
  • Never put sudo, rm -rf, or credential paths in allowed lists unless explicitly requested
  • Explain WHY each permission is needed, not just WHAT it allows
  • Suggest running a test task after config generation to verify

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.