Orca is the place for working with a fleet of agents (e.g. Grok Bot, Claude Code). Run any coding agent with your own subscription. Available on desktop, mobile and remote runtime.
TypeScript adeagent-ideai-agentsautomationbotclaude-codecodexghosttygrok-bothermes-agentmobile-appmuseopenclawopencodeorchestrationpiruntimeterminalworktreesyc-backed
// COMPAT(wsl-bridge): removed when WSL runs as an orcad host.
export const ORCA_SKILLS_REPOSITORY_URL = 'https://github.com/stablyai/orca'
// Pin one CLI across install rails: 1.5.x lacks commit fetch and bare npx may reuse stale/wrong binaries (#18687).
export const SKILLS_CLI_VERSION = '1.7.2'
export type AgentFeatureSkillCommandOptions = {
/** Full commit the running build was made from. */
sourceCommit: string
global?: boolean
}
export function buildAgentFeatureSkillInstallArgs(
skillNames: readonly string[],
options: AgentFeatureSkillCommandOptions
): string[] {
if (skillNames.length === 0) {
throw new Error('At least one skill name is required.')
}
const global = options.global ?? true
// One flag per skill works with both single-value and variadic parsers.
const skillArgs = skillNames.flatMap((name) => ['--skill', name])
return [
`skills@${SKILLS_CLI_VERSION}`,
'add',
// Use the build commit for manifest freshness on every channel, including untagged hourly builds; add re-copies for updates.
`${ORCA_SKILLS_REPOSITORY_URL}/tree/${options.sourceCommit}`,
...skillArgs,
...(global ? ['--global'] : [])
]
}
export function buildAgentFeatureSkillInstallCommand(
skillNames: readonly string[],
options: AgentFeatureSkillCommandOptions
): string {
return `npx ${buildAgentFeatureSkillInstallArgs(skillNames, options).join(' ')}`
}