Skip to content

Conversation

@bjtitus
Copy link

@bjtitus bjtitus commented Jan 4, 2026

The Problem

When running nix flake init -t github:clawdbot/nix-clawdbot#agent-first I received an error:

error: flake 'github:clawdbot/nix-clawdbot' does not provide attribute 'templates.agent-first' or 'agent-first'

The templates need to be added to flake.nix:

templates = {
  agent-first = {
    path = ./templates/agent-first;
    description = "Agent-first template for clawdbot";
  };
};

Testing

You can test the branch directly using this command:

nix flake init -t github:bjtitus/nix-clawdbot/flake-templates#agent-first

Result:

wrote: "/Users/bjtitus/Developer/clawdbot/flake.nix"
wrote: "/Users/bjtitus/Developer/clawdbot/documents/SOUL.md"
wrote: "/Users/bjtitus/Developer/clawdbot/documents/AGENTS.md"
wrote: "/Users/bjtitus/Developer/clawdbot/documents/TOOLS.md"
wrote: "/Users/bjtitus/Developer/clawdbot/documents"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant