Skip to content
Back to skills

References

ASecurity

> **Prerequisite:** Follow the Global AE CLI Rules in [`../SKILL.md`](../SKILL.md). Domain: **Skills / write**

  • 45 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 23, 2026
toolsgobashapi

Works with

  • cli
  • api

Security analysis

A100/100

Pro scans all 21 files and shows the line behind each finding

Scanned September 23, 2026

npx -y skills add ahang1598/doubao-workbuddy-qwenwork-skills --skill references --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of References?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for References
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/ahang1598-references-fa43a614/badge)](https://www.skillsdirectory.com/skills/ahang1598-references-fa43a614)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
# agent +edit-skill (Edit Skill Content)

> **Prerequisite:** Follow the Global AE CLI Rules in [`../SKILL.md`](../SKILL.md).

Domain: **Skills / write**

## Use Cases

- Edit a personal Skill's content (name, description, instructions, display name, category, icon).
- Endpoint: `PUT /api/sandbox/agent/skills/[id]`.
- Only `personal` scope Skills can be edited via CLI.

## Mandatory Rules (MUST)

- `--id` is required. Obtain the real Skill record ID (CUID) via `+list-skills` — do not guess.
- At least one editable field must be provided (`--name` / `--description` / `--instructions` / `--display-name` / `--category` / `--icon-emoji` / `--icon-color`).
- `--name` must be 1–80 chars when provided.
- `--instructions` supports `@-` to read from stdin (useful for piping long instruction text).
- `--category` must be one of the market category keys when provided.
- This is an ordinary `write` operation and does not require CLI confirmation.

## Market Category Keys

`ae_preset | dev_tool | search_tool | data_query | content_gen | enterprise | life | automation | other`

## Command

```bash
# Edit instructions only
ae-cli agent +edit-skill --id <skill-cuid> --instructions "Updated instructions..." --version 1.1

# Edit name and description
ae-cli agent +edit-skill --id <skill-cuid> --name new-name --description "New description" --version 2.0

# Instructions from stdin
echo "You are a helpful assistant..." | \
  ae-cli agent +edit-skill --id <skill-cuid> --instructions @- --version 1.1

# Dry-run to inspect the request before executing
ae-cli agent +edit-skill --dry-run --id <skill-cuid> --name new-name --version 2.0
```

## Parameters

| Parameter        | Required                | Description                                                                                                           |
| ---------------- | ----------------------- | --------------------------------------------------------------------------------------------------------------------- |
| `--id`           | Yes                     | Skill record ID (CUID)                                                                                                |
| `--version`      | Yes for content changes | New `major.minor` version. It must be higher than the current version when name, description, or instructions change. |
| `--name`         | No*                     | New Skill name (1–80 chars)                                                                                           |
| `--description`  | No*                     | New Skill description                                                                                                 |
| `--instructions` | No*                     | New instructions (use `@-` to read from stdin)                                                                        |
| `--display-name` | No*                     | New display name (max 100)                                                                                            |
| `--category`     | No*                     | Market category key (see above)                                                                                       |
| `--icon-emoji`   | No*                     | Market icon emoji (e.g. `robot`)                                                                                      |
| `--icon-color`   | No*                     | Market icon color (e.g. `#1E76F0`)                                                                                    |

\* At least one of these must be provided.

## Decision Rules

- Use `+list-skills` to confirm the Skill ID before editing.
- If the user provides long instruction text, pipe it via stdin with `--instructions @-`.
- Use `--dry-run` first to verify the request shape before executing.
- Editing a Skill does not change its scope; company/system Skills are read-only via CLI.
- Display name, category, and icon-only changes do not create a content version and do not require `--version`.

## Next Steps on Failure

- `404` / not found: re-run `+list-skills` to verify the Skill ID and scope.
- `409` / name conflict: use `--name` with a different name, or consider `+upload-skill` with `--auto-rename`.
- `SKILL_VERSION_CONFLICT`: read `meta.currentVersion`, choose a strictly higher `major.minor` value, and retry the same command with `--version`.
- `SKILL_HISTORY_CONFLICT`: stop retrying and tell the user, "The Skill cannot be safely updated right now. Please contact your administrator."
- Do not recommend internal maintenance commands or expose diagnostic payloads in a customer-facing response.

## Recommended Chaining

- `+list-skills` → confirm `id` → `+edit-skill` → `+get-skill-content` (verify)

Files in this skill

  • accept-skill-share.md1.6 KB
  • add-attachment.md2.4 KB
  • add-mcp.md3.6 KB
  • add-model.md2.5 KB
  • add-skill.md4.6 KB
  • agent-distribution.md9.2 KB
  • approval-effect.md3.2 KB
  • approval-request.md3.5 KB
  • approval-task.md2.6 KB
  • approval-type.md1.4 KB
  • approve-skill.md1.7 KB
  • attachment-stats.md1.5 KB
  • cancel-skill-submission.md1.6 KB
  • command_index.md2.8 KB
  • copy-skill.md2.4 KB
  • create-agent.md3.4 KB
  • create-automation.md6.9 KB
  • del-agent.md1.6 KB
  • del-attachment.md1.2 KB
  • del-mcp.md1.3 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…