How cobusgreyling/grok-bot-templates works
Grok Bot Templates is a catalog and authoring kit for paste-ready agent contracts, distributed through a no-Node Setup workflow, a CLI, and a browsable catalog. The main user path is choose a template or team, copy/install profiles, connect plugins, run a first task, then adopt skills and routines when ready. The repository also provides validation, readiness scoring, sharing safety, patterns, conversion guidance, and a machine-readable catalog. Source excerpts show CLI and library calls; links to unsampled content are included only where documented, with evidence limits noted.
Main entry points: grokbot.mjs grokbot CLI · validate.mjs Validation and safety · build-catalog.mjs Catalog API · build-site.mjs Browseable catalog
Components 22
Bot contract catalog
- Bot templates
templates - Team rosters
teams - Skills
skills - Routines
routines - Design patterns
patterns - Contract schemas
schema
CLI and quality
- grokbot CLI
bin/grokbot.mjs - Root discovery
lib/paths.mjs - Catalog loader
lib/load.mjs - Validation and safety
lib/validate.mjs - Bot Ready score
lib/score.mjs - Score badges
lib/badge.mjs - Profile rendering
lib/render.mjs - Skill rendering
lib/render-skill.mjs - Routine rendering
lib/render-routine.mjs
Install and discovery
- Setup instructions
START.md - Catalog URL helpers
lib/urls.mjs - Catalog API
scripts/build-catalog.mjs - Browseable catalog
scripts/build-site.mjs
Adoption guidance
- Format conversion
convert
Other components
- Bot owner
- Catalog readers
Connections 34
- Bot owner → Setup instructions: starts setup
README.md - Bot owner → grokbot CLI: runs command
README.md - Setup instructions → Bot templates: fetches profiles
README.md - Bot owner → Browseable catalog: browses templates
README.md - Bot owner → Team rosters: chooses roster
README.md - Team rosters → Bot templates: lists bots
README.md - Bot templates → Skills: adopts skill
README.md - Skills → Routines: schedules later
README.md - Bot owner → Format conversion: converts contract
README.md - grokbot CLI → Root discovery: resolves root
bin/grokbot.mjs - grokbot CLI → Catalog loader: loads catalog
bin/grokbot.mjs - Catalog loader → Root discovery: gets directories
lib/load.mjs - grokbot CLI → Validation and safety: validates data
bin/grokbot.mjs - Validation and safety → Contract schemas: checks contracts
lib/validate.mjs - Validation and safety → Bot templates: checks templates
lib/validate.mjs - Validation and safety → Team rosters: checks rosters
lib/validate.mjs - Validation and safety → Skills: checks skills
lib/validate.mjs - Validation and safety → Routines: checks routines
lib/validate.mjs - Validation and safety → Design patterns: checks patterns
lib/validate.mjs - grokbot CLI → Bot Ready score: scores templates
bin/grokbot.mjs - grokbot CLI → Score badges: renders badge
bin/grokbot.mjs - grokbot CLI → Profile rendering: renders profile
bin/grokbot.mjs - grokbot CLI → Skill rendering: renders skills
bin/grokbot.mjs - grokbot CLI → Routine rendering: renders routines
bin/grokbot.mjs - Catalog API → Catalog loader: loads entries
scripts/build-catalog.mjs - Catalog API → Validation and safety: validates entries
scripts/build-catalog.mjs - Catalog API → Bot Ready score: scores entries
scripts/build-catalog.mjs - Catalog API → Score badges: writes badge
scripts/build-catalog.mjs - Catalog API → Catalog URL helpers: builds links
scripts/build-catalog.mjs - Browseable catalog → Catalog loader: loads entries
scripts/build-site.mjs - Browseable catalog → Bot Ready score: scores cards
scripts/build-site.mjs - Browseable catalog → Catalog URL helpers: builds links
scripts/build-site.mjs - Catalog API → Catalog readers: publishes API
README.md - Browseable catalog → Catalog readers: publishes catalog
README.md