refactor(skills): shorten built-in skill descriptions
This commit is contained in:
1 parent
4fa125e134
commit
12e869d047
8 files changed
+10
-9
No files matched your search
@@ -1,6 +1,6 @@
|
||||
---
|
||||
name: github
|
||||
description: "Interact with GitHub using the `gh` CLI. Use `gh issue`, `gh pr`, `gh run`, and `gh api` for issues, PRs, CI runs, and advanced queries."
|
||||
description: "Manage GitHub issues and pull requests, inspect CI runs, and query repository data."
|
||||
metadata: {"nanobot":{"emoji":"🐙","requires":{"bins":["gh"]},"install":[{"id":"brew","kind":"brew","formula":"gh","bins":["gh"],"label":"Install GitHub CLI (brew)"},{"id":"apt","kind":"apt","package":"gh","bins":["gh"],"label":"Install GitHub CLI (apt)"}]}}
|
||||
---
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
name: my
|
||||
description: Inspect and optionally adjust the agent's runtime state. Use to check the current model or preset, context window and runtime limits, workspace and tool configuration, and request routing metadata such as channel, chat ID, and sender ID; diagnose unavailable capabilities; change allowed runtime settings; or store temporary session scratchpad values.
|
||||
description: Inspect or troubleshoot the agent's runtime state, adjust runtime settings, or keep temporary session notes.
|
||||
---
|
||||
|
||||
# Self-Awareness
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
name: skill-creator
|
||||
description: Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
|
||||
description: Create, update, or package agent skills.
|
||||
---
|
||||
|
||||
# Skill Creator
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
name: summarize
|
||||
description: Summarize or extract text/transcripts from URLs, podcasts, and local files (great fallback for “transcribe this YouTube/video”).
|
||||
description: Summarize or extract text and transcripts from URLs, YouTube videos, podcasts, and local files.
|
||||
homepage: https://summarize.sh
|
||||
metadata: {"nanobot":{"emoji":"🧾","requires":{"bins":["summarize"]},"install":[{"id":"brew","kind":"brew","formula":"steipete/tap/summarize","bins":["summarize"],"label":"Install summarize (brew)"}]}}
|
||||
---
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
name: tmux
|
||||
description: Remote-control tmux sessions for interactive CLIs by sending keystrokes and scraping pane output.
|
||||
description: Use when a CLI task needs an interactive terminal or control of a tmux session.
|
||||
metadata: {"nanobot":{"emoji":"🧵","os":["darwin","linux"],"requires":{"bins":["tmux"]}}}
|
||||
---
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
name: update-setup
|
||||
description: "One-time setup wizard for the nanobot upgrade skill. Triggers: setup update, configure update, 设置更新, 初始化更新."
|
||||
description: "Set up or reconfigure nanobot's upgrade skill."
|
||||
---
|
||||
|
||||
# Update Setup
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
name: weather
|
||||
description: Get current weather and forecasts (no API key required).
|
||||
description: Get current weather and forecasts.
|
||||
homepage: https://wttr.in/:help
|
||||
metadata: {"nanobot":{"emoji":"🌤️","requires":{"bins":["curl"]}}}
|
||||
---
|
||||
|
||||
@@ -375,8 +375,9 @@ def test_bundled_update_setup_description_is_valid_yaml(tmp_path: Path) -> None:
|
||||
metadata = SkillsLoader(tmp_path).get_skill_metadata("update-setup")
|
||||
|
||||
assert metadata is not None
|
||||
assert metadata["description"].startswith("One-time setup wizard")
|
||||
assert "Triggers:" in metadata["description"]
|
||||
description = metadata["description"]
|
||||
assert isinstance(description, str)
|
||||
assert description.strip()
|
||||
|
||||
|
||||
def test_bundled_skills_use_agent_owned_paths(tmp_path: Path) -> None:
|
||||
|
||||
Reference in new issue
Block a user