storage:skill
storage:skill
Section titled “storage:skill”| Field | Value |
|---|---|
| Prefix | storage:skill |
| Namespace constant | SkillStorageNamespace |
| Subjects constant | SkillStorageSubjects |
| Kind | storage |
| Schema record | <inline> |
| Tier | framework |
| Package | @makaio/contracts |
| Defined in | packages/contracts/src/skill/storage-namespace.ts |
Subjects
Section titled “Subjects”| Key | Wire | Type | Schema |
|---|---|---|---|
delete | storage:skill.delete | rpc | — |
get | storage:skill.get | rpc | — |
getEffective | storage:skill.getEffective | rpc | — |
list | storage:skill.list | rpc | — |
set | storage:skill.set | rpc | — |
Subject Details
Section titled “Subject Details”storage:skill.delete (rpc)
Section titled “storage:skill.delete (rpc)”Subject: storage:skill.delete
Type: Request (RPC)
Request:
| Field | Type | Required |
|---|---|---|
id | string | yes |
Response:
| Field | Type | Required |
|---|---|---|
deleted | boolean | yes |
storage:skill.get (rpc)
Section titled “storage:skill.get (rpc)”Subject: storage:skill.get
Type: Request (RPC)
Request:
| Field | Type | Required |
|---|---|---|
id | string | yes |
Response:
| Field | Type | Required |
|---|---|---|
skill | { name: string; description: string; activationMode: "auto" | "manual"; enabled: boolean; id: string; source: "filesystem" | "database"; scope: "session" | "global" | "project"; content: string; createdAt: number; updatedAt: number; license?: string | undefined; compatibility?: string | undefined; metadata?: Record<string, string> | undefined; allowedTools?: string | undefined; category?: string | undefined; tags?: string[] | undefined; adapters?: string[] | null | undefined; reinjection?: { maxTurns?: number | undefined; } | undefined; projectId?: string | undefined; sessionId?: string | undefined; location?: string | undefined; baseDir?: string | undefined; } | null | yes |
storage:skill.getEffective (rpc)
Section titled “storage:skill.getEffective (rpc)”Subject: storage:skill.getEffective
Type: Request (RPC)
Request:
| Field | Type | Required |
|---|---|---|
adapterId | string | undefined | no |
category | string | undefined | no |
enabledOnly | boolean | undefined | no |
projectId | string | undefined | no |
sessionId | string | undefined | no |
tags | string[] | undefined | no |
Response:
| Field | Type | Required |
|---|---|---|
skills | { name: string; description: string; activationMode: "auto" | "manual"; enabled: boolean; id: string; source: "filesystem" | "database"; scope: "session" | "global" | "project"; content: string; createdAt: number; updatedAt: number; license?: string | undefined; compatibility?: string | undefined; metadata?: Record<string, string> | undefined; allowedTools?: string | undefined; category?: string | undefined; tags?: string[] | undefined; adapters?: string[] | null | undefined; reinjection?: { maxTurns?: number | undefined; } | undefined; projectId?: string | undefined; sessionId?: string | undefined; location?: string | undefined; baseDir?: string | undefined; }[] | yes |
storage:skill.list (rpc)
Section titled “storage:skill.list (rpc)”Subject: storage:skill.list
Type: Request (RPC)
Request:
| Field | Type | Required |
|---|---|---|
adapterId | string | undefined | no |
category | string | undefined | no |
enabledOnly | boolean | undefined | no |
projectId | string | undefined | no |
sessionId | string | undefined | no |
tags | string[] | undefined | no |
Response:
| Field | Type | Required |
|---|---|---|
skills | { name: string; description: string; activationMode: "auto" | "manual"; enabled: boolean; id: string; source: "filesystem" | "database"; scope: "session" | "global" | "project"; content: string; createdAt: number; updatedAt: number; license?: string | undefined; compatibility?: string | undefined; metadata?: Record<string, string> | undefined; allowedTools?: string | undefined; category?: string | undefined; tags?: string[] | undefined; adapters?: string[] | null | undefined; reinjection?: { maxTurns?: number | undefined; } | undefined; projectId?: string | undefined; sessionId?: string | undefined; location?: string | undefined; baseDir?: string | undefined; }[] | yes |
storage:skill.set (rpc)
Section titled “storage:skill.set (rpc)”Subject: storage:skill.set
Type: Request (RPC)
Request:
| Field | Type | Required |
|---|---|---|
skill | { name: string; description: string; activationMode: "auto" | "manual"; enabled: boolean; id: string; scope: "session" | "global" | "project"; content: string; source: "database"; license?: string | undefined; compatibility?: string | undefined; metadata?: Record<string, string> | undefined; allowedTools?: string | undefined; category?: string | undefined; tags?: string[] | undefined; adapters?: string[] | null | undefined; reinjection?: { maxTurns?: number | undefined; } | undefined; projectId?: string | undefined; sessionId?: string | undefined; } | yes |
Response:
| Field | Type | Required |
|---|---|---|
id | string | yes |
Auto-generated by yarn docs:bus. Do not edit manually.