agentleFS
ThirdKeyAIThirdKeyAI/symbi-claude-code/skills/symbi-init/SKILL.md

symbi-init

Skill4 starsChanged 9 months agoApache-2.0View on GitHub

Initialize a Symbiont-governed project. Creates agent definitions, Cedar policies, and configuration files. Use when setting up a new project with AI agent governance or adding Symbiont to an existing project.

  • Reads credentials
  • Deletes or force-pushes
  • Commits and pushes

The file

We split this skill into the rules it gives an agent

7 rules. About 0 are common, 2 are distinctive, and 5 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 5

    Very specific

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

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

    Check if symbiont.toml already exists.

    line 12
  2. Distinctive:

    Create the directory structure:

    line 14
  3. Very specific:

    Create symbiont.toml with sensible defaults:

    line 21
  4. Very specific:

    Create a starter agent at agents/assistant.dsl:

    line 35
  5. Very specific:

    Create a starter Cedar policy at policies/default.cedar:

    line 58
  6. Very specific:

    Create .symbiont/local-policy.toml with default deny rules:

    line 76
  7. Distinctive:

    Create AGENTS.md manifest for the project.

    line 84

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

Initialize Symbiont Project

Set up a governed agent project in the current directory.

Steps

  1. Check if symbiont.toml already exists. If so, ask before overwriting.
  2. Create the directory structure:
    agents/          # Agent DSL definitions
    policies/        # Cedar policy files
    .symbiont/       # Local governance config and audit logs
  3. Create symbiont.toml with sensible defaults:
    [runtime]
    security_tier = "tier1"   # Docker isolation
    log_level = "info"
    
    [policy]
    engine = "cedar"
    enforcement = "strict"
    
    [schemapin]
    mode = "tofu"  # Trust-On-First-Use
  4. Create a starter agent at agents/assistant.dsl:
    metadata {
        version = "1.0.0"
        description = "Default governed assistant"
    }
    
    agent assistant(input: Query) -> Response {
        capabilities = ["read", "analyze"]
    
        policy default_access {
            allow: read(input) if true
            deny: write(any) if not approved
            audit: all_operations
        }
    
        with memory = "session" {
            result = process(input)
            return result
        }
    }
  5. Create a starter Cedar policy at policies/default.cedar:
    // Default: allow read operations, require approval for writes
    permit(
        principal,
        action == Action::"read",
        resource
    );
    
    forbid(
        principal,
        action == Action::"write",
        resource
    ) unless {
        principal.approved == true
    };
  6. Create .symbiont/local-policy.toml with default deny rules:
    [deny]
    paths = [".env", ".ssh/", ".aws/", ".gnupg/", "credentials"]
    commands = ["rm -rf", "git push --force", "mkfs", "dd if="]
    branches = ["main", "master", "production"]
  7. Create AGENTS.md manifest for the project.
  8. Report what was created and suggest next steps.

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.