Skip to main content

Overview

This guide walks you through adding agent skills to an existing use case. By the end, your HTTP endpoints and scheduled workflows will be discoverable and usable by any Claude-based agent.
New use cases get skills automatically. When you run codika init, the scaffolded use case includes example skills for both the HTTP workflow and the scheduled workflow. This guide is for adding skills to existing use cases or customizing the defaults.
Prefer automation? The Builder System agents create use cases with correctly configured agent skills out of the box. Use this guide when you need to add or customize skills manually.

Step 1: Identify triggerable workflows

Open your config.ts and list all workflows with http or schedule trigger types. Skip sub-workflows, data ingestion, and service event workflows.
For each triggerable workflow, note:
  • workflowTemplateId from config.ts
  • Trigger type (http or schedule)
  • Input schema fields (for HTTP)
  • Output schema fields
  • Integration UIDs used
  • Credit cost

Step 2: Create the skills directory

For each triggerable workflow, create a subdirectory:

Step 3: Write SKILL.md files

For HTTP workflows

Create skills/{name}/SKILL.md:

For scheduled workflows

Step 4: Validate

Check for skill-related findings:
  • SKILL-STRUCTURE — Missing SKILL.md in a skills subdirectory
  • SKILL-NAME-FORMAT — Name too long, wrong characters, or reserved words
  • SKILL-WORKFLOW-REF — workflowTemplateId doesn’t match any workflow
  • SKILL-DUPLICATE — Duplicate names or workflowTemplateIds

Step 5: Deploy

Skills are automatically collected and sent with the deployment. No config.ts changes needed.

Step 6: Verify agent access

You should see all your skills listed with their names, descriptions, and content.

Naming rules

The name field must follow Claude’s naming constraints: Convention: Prefix with your use case slug: wat-, propale-, crm-.

Description rules

Progressive disclosure for complex skills

If a skill needs more than 500 lines, split into referenced files:
Reference them from SKILL.md:
Claude reads SKILL.md first, then loads referenced files only when needed.

Checklist

Before deploying:
  • One skill per triggerable workflow (HTTP + scheduled with manual trigger)
  • No skills for sub-workflows or data ingestion
  • Each skill is a {name}/SKILL.md directory
  • Frontmatter has name, description, workflowTemplateId
  • name is valid (lowercase, hyphens, max 64 chars, no reserved words)
  • description is third person and under 1024 chars
  • workflowTemplateId matches a workflow in config.ts
  • Body includes codika trigger command with example payload
  • Body includes input/output schemas
  • codika verify use-case . passes