Combines multiple agent skills into a single skill with merged prompts and tools.
// Source: https://github.com/genspark-ai/genoffice | License: Apache-2.0 | Copyright You must retain, in the Source form of any Derivative Works
// Provided via justclaw.it.com; keep this notice with the code.
import type { AgentToolCall, AgentToolDef, ToolExecution } from './types'
/** One tool call actually executed during a run, as seen by verifyResponse. */
export interface ExecutedToolCall {
name: string
/** false when the execution returned an error result */
ok: boolean
}
/**
* A skill packages one capability domain for the agent loop: its system
* prompt section, its tools, per-turn context, and the tool executor.
* AI Docs ships a docx skill; Excel / PPT skills plug in the same way.
*/
export interface AgentSkill {
id: string
/** system prompt section describing t
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key