@prismshadow/penguin-server · packages/server/src/services/agent-skills.ts:16

AgentSkills

interface

AgentSkills: what InstalledAgentSkills implements, and a server module reaches through the plugin face.

API

@Interface()
export abstract class AgentSkills {
  abstract installedSkills(projectId: string, agentId: string): Promise<string[]>;
}

Contract Topology

Static AST wiring across @Module / @Provide / @Use
@Moduleexported by
@Provideprovided by

Members (1)

installedSkills

installedSkills(projectId: string, agentId: string): Promise<string[]>

The names of the Skills installed on the Agent, sorted. 400 for an id that is not one plain segment, 404 agent_not_found for an Agent the Project does not have. Callers check the caller's access to the Project first; this does not.

@paramprojectIdstring
@paramagentIdstring
@returnsPromise<string[]>