Graphorin API reference v0.4.0
Graphorin API reference / @graphorin/skills / / InlineSkill
Interface: InlineSkill
Defined in: packages/skills/src/types/index.ts:104
Pre-built skill payload accepted by { kind: 'inline' }. Bypasses the file-system loader; useful for tests and bundled defaults.
Stable
Properties
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
basePath? | readonly | string | - | packages/skills/src/types/index.ts:106 |
resources? | readonly | readonly { content: string; path: string; }[] | - | packages/skills/src/types/index.ts:107 |
skillMd | readonly | string | - | packages/skills/src/types/index.ts:105 |
tools? | readonly | readonly InlineSkillTool[] | Pre-built Tool[] payload. When supplied, the loader exposes these via Skill.tools so SkillRegistry.tools returns them deduplicated by tool.name. Folder / npm / git sources do not carry tool implementations — the agent runtime (Phase 12) materialises them from the skill's tools/ directory. The inline source is the only path through which tests + bundled defaults can ship pre-built tools. | packages/skills/src/types/index.ts:118 |