@framers/agentos-skills 0.3.0 → 0.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CONTRIBUTING.md +231 -0
- package/README.md +93 -58
- package/package.json +19 -31
- package/registry/community/.gitkeep +0 -0
- package/registry/curated/1password/SKILL.md +53 -0
- package/registry/curated/account-manager/SKILL.md +60 -0
- package/registry/curated/agent-config/SKILL.md +22 -0
- package/registry/curated/amazon-polly/SKILL.md +74 -0
- package/registry/curated/apple-notes/SKILL.md +45 -0
- package/registry/curated/apple-reminders/SKILL.md +46 -0
- package/registry/curated/audio-generation/SKILL.md +231 -0
- package/registry/curated/blog-publisher/SKILL.md +110 -0
- package/registry/curated/bluesky-bot/SKILL.md +93 -0
- package/registry/curated/cli-tools/SKILL.md +137 -0
- package/registry/curated/cloud-ops/SKILL.md +124 -0
- package/registry/curated/code-safety/SKILL.md +42 -0
- package/registry/curated/coding-agent/SKILL.md +40 -0
- package/registry/curated/company-research/SKILL.md +46 -0
- package/registry/curated/content-creator/SKILL.md +53 -0
- package/registry/curated/deep-research/SKILL.md +56 -0
- package/registry/curated/diarization/SKILL.md +83 -0
- package/registry/curated/discord-helper/SKILL.md +43 -0
- package/registry/curated/document-export/SKILL.md +54 -0
- package/registry/curated/email-intelligence/SKILL.md +41 -0
- package/registry/curated/emergent-tools/SKILL.md +225 -0
- package/registry/curated/endpoint-semantic/SKILL.md +72 -0
- package/registry/curated/facebook-bot/SKILL.md +94 -0
- package/registry/curated/git/SKILL.md +49 -0
- package/registry/curated/github/SKILL.md +142 -0
- package/registry/curated/google-cloud-stt/SKILL.md +71 -0
- package/registry/curated/google-cloud-tts/SKILL.md +71 -0
- package/registry/curated/grounding-guard/SKILL.md +38 -0
- package/registry/curated/healthcheck/SKILL.md +43 -0
- package/registry/curated/image-editing/SKILL.md +25 -0
- package/registry/curated/image-gen/SKILL.md +141 -0
- package/registry/curated/instagram-bot/SKILL.md +60 -0
- package/registry/curated/interactive-widgets/SKILL.md +85 -0
- package/registry/curated/linkedin-bot/SKILL.md +86 -0
- package/registry/curated/mastodon-bot/SKILL.md +104 -0
- package/registry/curated/memory-manager/SKILL.md +127 -0
- package/registry/curated/ml-content-classifier/SKILL.md +38 -0
- package/registry/curated/movie-lookup/SKILL.md +48 -0
- package/registry/curated/multimodal-rag/SKILL.md +153 -0
- package/registry/curated/notion/SKILL.md +43 -0
- package/registry/curated/obsidian/SKILL.md +42 -0
- package/registry/curated/openwakeword/SKILL.md +75 -0
- package/registry/curated/pii-redaction/SKILL.md +56 -0
- package/registry/curated/pinterest-bot/SKILL.md +45 -0
- package/registry/curated/piper/SKILL.md +72 -0
- package/registry/curated/porcupine/SKILL.md +74 -0
- package/registry/curated/reddit-bot/SKILL.md +74 -0
- package/registry/curated/seo-campaign/SKILL.md +51 -0
- package/registry/curated/site-deploy/SKILL.md +119 -0
- package/registry/curated/slack-helper/SKILL.md +43 -0
- package/registry/curated/social-broadcast/SKILL.md +145 -0
- package/registry/curated/spotify-player/SKILL.md +45 -0
- package/registry/curated/streaming-stt-deepgram/SKILL.md +84 -0
- package/registry/curated/streaming-stt-whisper/SKILL.md +82 -0
- package/registry/curated/streaming-tts-elevenlabs/SKILL.md +84 -0
- package/registry/curated/streaming-tts-openai/SKILL.md +83 -0
- package/registry/curated/structured-output/SKILL.md +22 -0
- package/registry/curated/summarize/SKILL.md +40 -0
- package/registry/curated/threads-bot/SKILL.md +82 -0
- package/registry/curated/tiktok-bot/SKILL.md +104 -0
- package/registry/curated/topicality/SKILL.md +37 -0
- package/registry/curated/trello/SKILL.md +44 -0
- package/registry/curated/twitter-bot/SKILL.md +63 -0
- package/registry/curated/video-generation/SKILL.md +225 -0
- package/registry/curated/vision-ocr/SKILL.md +82 -0
- package/registry/curated/voice-conversation/SKILL.md +65 -0
- package/registry/curated/vosk/SKILL.md +74 -0
- package/registry/curated/weather/SKILL.md +37 -0
- package/registry/curated/web-scraper/SKILL.md +60 -0
- package/registry/curated/web-search/SKILL.md +49 -0
- package/registry/curated/whisper-transcribe/SKILL.md +58 -0
- package/registry/curated/youtube-bot/SKILL.md +104 -0
- package/registry.json +2446 -0
- package/scripts/update-registry.mjs +126 -0
- package/scripts/validate-skill.mjs +304 -0
- package/types.d.ts +160 -0
- package/dist/SkillLoader.d.ts +0 -50
- package/dist/SkillLoader.d.ts.map +0 -1
- package/dist/SkillLoader.js +0 -291
- package/dist/SkillLoader.js.map +0 -1
- package/dist/SkillRegistry.d.ts +0 -135
- package/dist/SkillRegistry.d.ts.map +0 -1
- package/dist/SkillRegistry.js +0 -455
- package/dist/SkillRegistry.js.map +0 -1
- package/dist/index.d.ts +0 -13
- package/dist/index.d.ts.map +0 -1
- package/dist/index.js +0 -13
- package/dist/index.js.map +0 -1
- package/dist/paths.d.ts +0 -35
- package/dist/paths.d.ts.map +0 -1
- package/dist/paths.js +0 -71
- package/dist/paths.js.map +0 -1
- package/dist/types.d.ts +0 -231
- package/dist/types.d.ts.map +0 -1
- package/dist/types.js +0 -21
- package/dist/types.js.map +0 -1
package/dist/types.d.ts
DELETED
|
@@ -1,231 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @fileoverview Skills Runtime Types for AgentOS
|
|
3
|
-
* @module @framers/agentos-skills/types
|
|
4
|
-
*
|
|
5
|
-
* Skills are modular capabilities defined in SKILL.md files with
|
|
6
|
-
* YAML frontmatter specifying metadata, requirements, and install specs.
|
|
7
|
-
*
|
|
8
|
-
* This module is adapted from the Wunderland/OpenClaw skills system.
|
|
9
|
-
*/
|
|
10
|
-
/**
|
|
11
|
-
* Supported package manager/installation methods.
|
|
12
|
-
*/
|
|
13
|
-
export type SkillInstallKind = 'brew' | 'apt' | 'node' | 'go' | 'uv' | 'download';
|
|
14
|
-
/**
|
|
15
|
-
* Installation specification for a skill dependency.
|
|
16
|
-
*/
|
|
17
|
-
export interface SkillInstallSpec {
|
|
18
|
-
/** Unique identifier for this install spec */
|
|
19
|
-
id?: string;
|
|
20
|
-
/** Installation method */
|
|
21
|
-
kind: SkillInstallKind;
|
|
22
|
-
/** Human-readable label */
|
|
23
|
-
label?: string;
|
|
24
|
-
/** Binary names that should exist after install */
|
|
25
|
-
bins?: string[];
|
|
26
|
-
/** Limit to specific OS platforms */
|
|
27
|
-
os?: readonly string[];
|
|
28
|
-
/** Homebrew formula name */
|
|
29
|
-
formula?: string;
|
|
30
|
-
/** Package name (apt package, npm package, uv tool package) */
|
|
31
|
-
package?: string;
|
|
32
|
-
/** Go module spec for `go install` (e.g. `golang.org/x/tools/cmd/goimports@latest`) */
|
|
33
|
-
module?: string;
|
|
34
|
-
/** Download URL */
|
|
35
|
-
url?: string;
|
|
36
|
-
/** Archive filename for extraction */
|
|
37
|
-
archive?: string;
|
|
38
|
-
/** Whether to extract the archive */
|
|
39
|
-
extract?: boolean;
|
|
40
|
-
/** Number of path components to strip during extraction */
|
|
41
|
-
stripComponents?: number;
|
|
42
|
-
/** Target directory for extracted files */
|
|
43
|
-
targetDir?: string;
|
|
44
|
-
}
|
|
45
|
-
/**
|
|
46
|
-
* Requirements for a skill to be eligible.
|
|
47
|
-
*/
|
|
48
|
-
export interface SkillRequirements {
|
|
49
|
-
/** All of these binaries must be available */
|
|
50
|
-
bins?: string[];
|
|
51
|
-
/** At least one of these binaries must be available */
|
|
52
|
-
anyBins?: string[];
|
|
53
|
-
/** Required environment variables */
|
|
54
|
-
env?: string[];
|
|
55
|
-
/** Required config paths */
|
|
56
|
-
config?: string[];
|
|
57
|
-
}
|
|
58
|
-
/**
|
|
59
|
-
* Skill metadata from SKILL.md frontmatter.
|
|
60
|
-
*/
|
|
61
|
-
export interface SkillMetadata {
|
|
62
|
-
/** Always include this skill regardless of requirements */
|
|
63
|
-
always?: boolean;
|
|
64
|
-
/** Override skill key (default: folder name) */
|
|
65
|
-
skillKey?: string;
|
|
66
|
-
/** Primary environment variable for this skill */
|
|
67
|
-
primaryEnv?: string;
|
|
68
|
-
/** Emoji for display */
|
|
69
|
-
emoji?: string;
|
|
70
|
-
/** Homepage URL */
|
|
71
|
-
homepage?: string;
|
|
72
|
-
/** Limit to specific OS platforms */
|
|
73
|
-
os?: readonly string[];
|
|
74
|
-
/** Requirements for eligibility */
|
|
75
|
-
requires?: SkillRequirements;
|
|
76
|
-
/** Installation specifications */
|
|
77
|
-
install?: SkillInstallSpec[];
|
|
78
|
-
}
|
|
79
|
-
/**
|
|
80
|
-
* Policy controlling how a skill can be invoked.
|
|
81
|
-
*/
|
|
82
|
-
export interface SkillInvocationPolicy {
|
|
83
|
-
/** Whether users can invoke directly via commands */
|
|
84
|
-
userInvocable: boolean;
|
|
85
|
-
/** Whether to disable LLM model invocation */
|
|
86
|
-
disableModelInvocation: boolean;
|
|
87
|
-
}
|
|
88
|
-
/**
|
|
89
|
-
* Dispatch specification for skill commands.
|
|
90
|
-
*/
|
|
91
|
-
export interface SkillCommandDispatch {
|
|
92
|
-
/** Dispatch kind (tool invocation) */
|
|
93
|
-
kind: 'tool';
|
|
94
|
-
/** Name of the tool to invoke */
|
|
95
|
-
toolName: string;
|
|
96
|
-
/** How to forward user-provided args */
|
|
97
|
-
argMode?: 'raw';
|
|
98
|
-
}
|
|
99
|
-
/**
|
|
100
|
-
* Command specification for a skill.
|
|
101
|
-
*/
|
|
102
|
-
export interface SkillCommandSpec {
|
|
103
|
-
/** Command name (e.g., "/github") */
|
|
104
|
-
name: string;
|
|
105
|
-
/** Parent skill name */
|
|
106
|
-
skillName: string;
|
|
107
|
-
/** Command description */
|
|
108
|
-
description: string;
|
|
109
|
-
/** Optional dispatch behavior */
|
|
110
|
-
dispatch?: SkillCommandDispatch;
|
|
111
|
-
}
|
|
112
|
-
/**
|
|
113
|
-
* Raw skill definition with name and content.
|
|
114
|
-
*/
|
|
115
|
-
export interface Skill {
|
|
116
|
-
/** Unique skill name (folder name) */
|
|
117
|
-
name: string;
|
|
118
|
-
/** Skill description from frontmatter or first paragraph */
|
|
119
|
-
description: string;
|
|
120
|
-
/** Full SKILL.md content (after frontmatter) */
|
|
121
|
-
content: string;
|
|
122
|
-
}
|
|
123
|
-
/**
|
|
124
|
-
* Parsed SKILL.md frontmatter.
|
|
125
|
-
*/
|
|
126
|
-
export type ParsedSkillFrontmatter = Record<string, unknown>;
|
|
127
|
-
/**
|
|
128
|
-
* Complete skill entry with all metadata.
|
|
129
|
-
*/
|
|
130
|
-
export interface SkillEntry {
|
|
131
|
-
/** Core skill data */
|
|
132
|
-
skill: Skill;
|
|
133
|
-
/** Raw frontmatter values */
|
|
134
|
-
frontmatter: ParsedSkillFrontmatter;
|
|
135
|
-
/** Parsed AgentOS/Wunderland/OpenClaw metadata */
|
|
136
|
-
metadata?: SkillMetadata;
|
|
137
|
-
/** Invocation policy */
|
|
138
|
-
invocation?: SkillInvocationPolicy;
|
|
139
|
-
/** Source directory path */
|
|
140
|
-
sourcePath?: string;
|
|
141
|
-
/** Optional source tag indicating where the skill was loaded from (e.g., "bundled", "workspace"). */
|
|
142
|
-
source?: string;
|
|
143
|
-
}
|
|
144
|
-
/**
|
|
145
|
-
* Context for evaluating skill eligibility.
|
|
146
|
-
*/
|
|
147
|
-
export interface SkillEligibilityContext {
|
|
148
|
-
/** Current platform(s) */
|
|
149
|
-
platforms: string[];
|
|
150
|
-
/** Check if a binary is available */
|
|
151
|
-
hasBin: (bin: string) => boolean;
|
|
152
|
-
/** Check if any of the binaries are available */
|
|
153
|
-
hasAnyBin: (bins: string[]) => boolean;
|
|
154
|
-
/** Check if an environment variable is set */
|
|
155
|
-
hasEnv?: (envVar: string) => boolean;
|
|
156
|
-
/** Additional note for filtering */
|
|
157
|
-
note?: string;
|
|
158
|
-
}
|
|
159
|
-
/**
|
|
160
|
-
* Snapshot of skills for agent context.
|
|
161
|
-
*/
|
|
162
|
-
export interface SkillSnapshot {
|
|
163
|
-
/** Formatted prompt text for LLM */
|
|
164
|
-
prompt: string;
|
|
165
|
-
/** List of included skills with names */
|
|
166
|
-
skills: Array<{
|
|
167
|
-
name: string;
|
|
168
|
-
primaryEnv?: string;
|
|
169
|
-
}>;
|
|
170
|
-
/** Resolved skills */
|
|
171
|
-
resolvedSkills?: Skill[];
|
|
172
|
-
/** Snapshot version */
|
|
173
|
-
version?: number;
|
|
174
|
-
/** Created timestamp */
|
|
175
|
-
createdAt: Date;
|
|
176
|
-
}
|
|
177
|
-
/**
|
|
178
|
-
* Configuration for skill loading.
|
|
179
|
-
*/
|
|
180
|
-
export interface SkillsLoadConfig {
|
|
181
|
-
/** Additional skill directories to scan */
|
|
182
|
-
extraDirs?: string[];
|
|
183
|
-
/** Watch for changes */
|
|
184
|
-
watch?: boolean;
|
|
185
|
-
/** Debounce for watcher (ms) */
|
|
186
|
-
watchDebounceMs?: number;
|
|
187
|
-
}
|
|
188
|
-
/**
|
|
189
|
-
* Install preferences for skills.
|
|
190
|
-
*/
|
|
191
|
-
export interface SkillsInstallPreferences {
|
|
192
|
-
/** Prefer Homebrew when available */
|
|
193
|
-
preferBrew: boolean;
|
|
194
|
-
/** Node package manager to use */
|
|
195
|
-
nodeManager: 'npm' | 'pnpm' | 'yarn' | 'bun';
|
|
196
|
-
}
|
|
197
|
-
/**
|
|
198
|
-
* Per-skill configuration.
|
|
199
|
-
*/
|
|
200
|
-
export interface SkillConfig {
|
|
201
|
-
/** Whether the skill is enabled */
|
|
202
|
-
enabled?: boolean;
|
|
203
|
-
/** API key for the skill */
|
|
204
|
-
apiKey?: string;
|
|
205
|
-
/** Environment variable overrides */
|
|
206
|
-
env?: Record<string, string>;
|
|
207
|
-
/** Additional configuration */
|
|
208
|
-
config?: Record<string, unknown>;
|
|
209
|
-
}
|
|
210
|
-
/**
|
|
211
|
-
* Top-level skills configuration.
|
|
212
|
-
*/
|
|
213
|
-
export interface SkillsConfig {
|
|
214
|
-
/** Allowlist for bundled skills */
|
|
215
|
-
allowBundled?: string[];
|
|
216
|
-
/** Loading configuration */
|
|
217
|
-
load?: SkillsLoadConfig;
|
|
218
|
-
/** Install preferences */
|
|
219
|
-
install?: SkillsInstallPreferences;
|
|
220
|
-
/** Per-skill configurations */
|
|
221
|
-
entries?: Record<string, SkillConfig>;
|
|
222
|
-
}
|
|
223
|
-
/** Maximum length for skill command names */
|
|
224
|
-
export declare const SKILL_COMMAND_MAX_LENGTH = 32;
|
|
225
|
-
/** Fallback command name */
|
|
226
|
-
export declare const SKILL_COMMAND_FALLBACK = "skill";
|
|
227
|
-
/** Maximum length for skill command descriptions (Discord limit) */
|
|
228
|
-
export declare const SKILL_COMMAND_DESCRIPTION_MAX_LENGTH = 100;
|
|
229
|
-
/** Default snapshot version */
|
|
230
|
-
export declare const DEFAULT_SNAPSHOT_VERSION = 1;
|
|
231
|
-
//# sourceMappingURL=types.d.ts.map
|
package/dist/types.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAMH;;GAEG;AACH,MAAM,MAAM,gBAAgB,GAAG,MAAM,GAAG,KAAK,GAAG,MAAM,GAAG,IAAI,GAAG,IAAI,GAAG,UAAU,CAAC;AAElF;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC/B,8CAA8C;IAC9C,EAAE,CAAC,EAAE,MAAM,CAAC;IAEZ,0BAA0B;IAC1B,IAAI,EAAE,gBAAgB,CAAC;IAEvB,2BAA2B;IAC3B,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf,mDAAmD;IACnD,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC;IAEhB,qCAAqC;IACrC,EAAE,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;IAGvB,4BAA4B;IAC5B,OAAO,CAAC,EAAE,MAAM,CAAC;IAGjB,+DAA+D;IAC/D,OAAO,CAAC,EAAE,MAAM,CAAC;IAGjB,uFAAuF;IACvF,MAAM,CAAC,EAAE,MAAM,CAAC;IAGhB,mBAAmB;IACnB,GAAG,CAAC,EAAE,MAAM,CAAC;IAEb,sCAAsC;IACtC,OAAO,CAA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IAExB,0BAA0B;IAC1B,OAAO,CAAC,EAAE,wBAAwB,CAAC;IAEnC,+BAA+B;IAC/B,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,WAAW,CAAC,CAAC;CACvC;AAMD,6CAA6C;AAC7C,eAAO,MAAM,wBAAwB,KAAK,CAAC;AAE3C,4BAA4B;AAC5B,eAAO,MAAM,sBAAsB,UAAU,CAAC;AAE9C,oEAAoE;AACpE,eAAO,MAAM,oCAAoC,MAAM,CAAC;AAExD,+BAA+B;AAC/B,eAAO,MAAM,wBAAwB,IAAI,CAAC"}
|
package/dist/types.js
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @fileoverview Skills Runtime Types for AgentOS
|
|
3
|
-
* @module @framers/agentos-skills/types
|
|
4
|
-
*
|
|
5
|
-
* Skills are modular capabilities defined in SKILL.md files with
|
|
6
|
-
* YAML frontmatter specifying metadata, requirements, and install specs.
|
|
7
|
-
*
|
|
8
|
-
* This module is adapted from the Wunderland/OpenClaw skills system.
|
|
9
|
-
*/
|
|
10
|
-
// ============================================================================
|
|
11
|
-
// CONSTANTS
|
|
12
|
-
// ============================================================================
|
|
13
|
-
/** Maximum length for skill command names */
|
|
14
|
-
export const SKILL_COMMAND_MAX_LENGTH = 32;
|
|
15
|
-
/** Fallback command name */
|
|
16
|
-
export const SKILL_COMMAND_FALLBACK = 'skill';
|
|
17
|
-
/** Maximum length for skill command descriptions (Discord limit) */
|
|
18
|
-
export const SKILL_COMMAND_DESCRIPTION_MAX_LENGTH = 100;
|
|
19
|
-
/** Default snapshot version */
|
|
20
|
-
export const DEFAULT_SNAPSHOT_VERSION = 1;
|
|
21
|
-
//# sourceMappingURL=types.js.map
|
package/dist/types.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAgTH,+EAA+E;AAC/E,YAAY;AACZ,+EAA+E;AAE/E,6CAA6C;AAC7C,MAAM,CAAC,MAAM,wBAAwB,GAAG,EAAE,CAAC;AAE3C,4BAA4B;AAC5B,MAAM,CAAC,MAAM,sBAAsB,GAAG,OAAO,CAAC;AAE9C,oEAAoE;AACpE,MAAM,CAAC,MAAM,oCAAoC,GAAG,GAAG,CAAC;AAExD,+BAA+B;AAC/B,MAAM,CAAC,MAAM,wBAAwB,GAAG,CAAC,CAAC"}
|