cyberneticlibrary

Create new host configuration

gstack-contrib-add-hostsubagentsetup L20
hugotown/dotfiles
What it does

Create and register a new AI coding agent host config for gstack

Best for

Adding agent support to gstack when a new coding assistant needs skill reuse across host ecosystems

Inputs
  • · Agent name
  • · CLI binary name
  • · Skill directory paths
  • · Frontmatter field mappings
  • · Tool name rewrites
Outputs
  • · TypeScript host config file
  • · Updated hosts/index.ts
  • · .gitignore entry
  • · Verified skill docs output
Requires
  • · TypeScript compiler
  • · bun (build tool)
Preconditions

Contributor access to gstack source repo; knowledge of target agent CLI and skill structure

Failure modes

Frontmatter transformation rules incompatible; skill docs generation fails; Claude Code path leakage in output; incorrect tool name mapping

Trust signals
  • · opencode.ts provided as reference implementation
  • · Parameterized tests auto-validate all hosts
  • · Skill doc generation verifies output structure