Your lightweight open-source personal agent.
Python agent-frameworkai-agentai-agentschatbotchatopsdiscord-botllm-agentsllmslocal-llmmcpmodel-context-protocolmulti-agentopenai-compatibleopenclawpersonal-ai-assistantpythonself-hostedtelegram-bot-ai-assistantwebuiworkflow-automation
refactor(skills): shorten built-in skill descriptions
chengyongru12e869d047c0
diff --git a/nanobot/skills/github/SKILL.md b/nanobot/skills/github/SKILL.mdindex 57d81278d..7014328ed 100644--- a/nanobot/skills/github/SKILL.md+++ b/nanobot/skills/github/SKILL.md@@ -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)"}]}}---diff --git a/nanobot/skills/my/SKILL.md b/nanobot/skills/my/SKILL.mdindex de9e1f5bb..4bd13eb2b 100644--- a/nanobot/skills/my/SKILL.md+++ b/nanobot/skills/my/SKILL.md@@ -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-Awarenessdiff --git a/nanobot/skills/skill-creator/SKILL.md b/nanobot/skills/skill-creator/SKILL.mdindex c9c71d4e0..90c0d6aa3 100644--- a/nanobot/skills/skill-creator/SKILL.md+++ b/nanobot/skills/skill-creator/SKILL.md@@ -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 Creatordiff --git a/nanobot/skills/summarize/SKILL.md b/nanobot/skills/summarize/SKILL.mdindex 766ab5d0b..24f7fdad7 100644--- a/nanobot/skills/summarize/SKILL.md+++ b/nanobot/skills/summarize/SKILL.md@@ -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.shmetadata: {"nanobot":{"emoji":"🧾","requires":{"bins":["summarize"]},"install":[{"id":"brew","kind":"brew","formula":"steipete/tap/summarize","bins":["summarize"],"label":"Install summarize (brew)"}]}}---diff --git a/nanobot/skills/tmux/SKILL.md b/nanobot/skills/tmux/SKILL.mdindex f2a3144d8..8adbc20cb 100644--- a/nanobot/skills/tmux/SKILL.md+++ b/nanobot/skills/tmux/SKILL.md@@ -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"]}}}---diff --git a/nanobot/skills/update-setup/SKILL.md b/nanobot/skills/update-setup/SKILL.mdindex d0d7e8427..e67c674ad 100644--- a/nanobot/skills/update-setup/SKILL.md+++ b/nanobot/skills/update-setup/SKILL.md@@ -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 Setupdiff --git a/nanobot/skills/weather/SKILL.md b/nanobot/skills/weather/SKILL.mdindex 6dfffa9ac..b1b9252db 100644--- a/nanobot/skills/weather/SKILL.md+++ b/nanobot/skills/weather/SKILL.md@@ -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/:helpmetadata: {"nanobot":{"emoji":"🌤️","requires":{"bins":["curl"]}}}---diff --git a/tests/agent/test_skills_loader.py b/tests/agent/test_skills_loader.pyindex 986be14f4..6e4345b44 100644--- a/tests/agent/test_skills_loader.py+++ b/tests/agent/test_skills_loader.py@@ -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: