Skip to main content

Get skills

POST /api/skills

Load and merge skills from all configured sources. Skills are loaded from multiple sources and merged with the following precedence (later overrides earlier for duplicate names): 1. Sandbox skills (lowest) - Exposed URLs from sandbox 2. Public skills - From GitHub SMART-National-Solution/faheem-code-skills repository 3. User skills - From ~/.faheem-code/skills/ 4. Organization skills - From {org}/.faheem-code or equivalent 5. Project skills (highest) - From {workspace}/.faheem-code/skills/ Args: request: SkillsRequest containing configuration for which sources to load. Returns: SkillsResponse containing merged skills and source counts.

Request body

FieldTypeRequiredDescription
load_publicbooleannoLoad public skills from SMART-National-Solution/faheem-code-skills repo
load_userbooleannoLoad user skills from ~/.faheem-code/skills/
load_projectbooleannoLoad project skills from workspace
load_orgbooleannoLoad organization-level skills
project_dir`stringnull`no
org_config`OrgConfignull`no
sandbox_config`SandboxConfignull`no

Responses

StatusDescription
200Successful Response
422Validation Error

Response body

FieldTypeRequiredDescription
skillsSkillInfo[]yes
sourcesobjectnoCount of skills loaded from each source

Operation ID: get_skills_api_skills_post