Skip to content

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

PropertyModifierTypeDescriptionDefined in
basePath?readonlystring-packages/skills/src/types/index.ts:106
resources?readonlyreadonly { content: string; path: string; }[]-packages/skills/src/types/index.ts:107
skillMdreadonlystring-packages/skills/src/types/index.ts:105
tools?readonlyreadonly 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