CodexSkills
🛈 DocStrings¶
Source code in src/codexed/client/skills.py
config_write
async
¶
Write skills configuration.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
path
|
str
|
Path to the skill |
required |
enabled
|
bool
|
Whether the skill is enabled |
required |
Source code in src/codexed/client/skills.py
list_skills
async
¶
list_skills(
*, cwds: list[str] | None = None, force_reload: bool | None = None
) -> list[SkillMetadata]
List available skills.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
cwds
|
list[str] | None
|
Optional working directories to scope skills |
None
|
force_reload
|
bool | None
|
Force reload of skills cache |
None
|
Returns:
| Type | Description |
|---|---|
list[SkillMetadata]
|
List of skills with metadata |
Source code in src/codexed/client/skills.py
remote_export
async
¶
remote_export(hazelnut_id: str) -> SkillsRemoteExportResponse
Export a skill to remote storage.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
hazelnut_id
|
str
|
ID of the remote skill to export |
required |
Returns:
| Type | Description |
|---|---|
SkillsRemoteExportResponse
|
SkillsRemoteExportResponse with id and local path |
Source code in src/codexed/client/skills.py
remote_list
async
¶
remote_list(
*,
hazelnut_scope: HazelnutScope = "example",
product_surface: ProductSurface = "codex",
enabled: bool = False,
) -> list[RemoteSkillSummary]
List remote skills.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
hazelnut_scope
|
HazelnutScope
|
Scope filter (example/workspace-shared/all-shared/personal) |
'example'
|
product_surface
|
ProductSurface
|
Product surface filter (chatgpt/codex/api/atlas) |
'codex'
|
enabled
|
bool
|
Whether to filter by enabled status |
False
|
Returns:
| Type | Description |
|---|---|
list[RemoteSkillSummary]
|
List of remote skill summaries |