shared

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 27, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateChannelSkill

func GenerateChannelSkill(surface driver.ResolvedSurface) string

GenerateChannelSkill produces a markdown skill file for a channel surface. Describes the platform, token env var, routing config, and usage guidance.

func GenerateClawdapusMD

func GenerateClawdapusMD(rc *driver.ResolvedClaw, podName string) string

GenerateClawdapusMD builds the CLAWDAPUS.md context file — the infrastructure layer's letter to the agent. Contains identity, surfaces, and skill index. Injected into the agent's context via bootstrap-extra-files hook.

func GenerateHandleSkill

func GenerateHandleSkill(platform string, info *driver.HandleInfo) string

GenerateHandleSkill produces a skill file describing a claw's identity and membership on the given platform. Helps the agent understand how to present itself and navigate its guild/channel topology.

func PlatformTokenVar

func PlatformTokenVar(platform string) string

PlatformTokenVar returns the conventional env var name for a platform's bot token.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL