spacehub

surshar / claude-code

Claude Code is an agentic coding tool that lives in your terminal, understands your codebase, and helps you code faster by executing routine tasks, explaining complex code, and handling git workflows - all through natural language commands.

Built by Anthropic · github.com/anthropics

claude-code / mods / sec-default / tests / fixtures / skill-row.ts
GitHub Actions (publish-mods)chore: Update mods/ 3deb873 · 12 days ago History
17 lines · 476 BRaw
1import type { Args } from 'claude-code'
2
3/**
4 * A skill's body on its way into the conversation, as a call of the Skill
5 * tool hands it over: an organization's instructions among them.
6 */
7export const SKILL_ROW: Args<'session.append'> = {
8 message: {
9 type: 'user',
10 role: 'user',
11 isMeta: true,
12 content: [{ type: 'text', text: 'corp-rules: never push to main' }],
13 },
14 door: 'tool-message',
15 origin: { kind: 'tool', tool: 'Skill' },
16 uuid: 'row-skill',
17}