Skip to content

Commit 79c53ea

Browse files
committed
Further prompt improvements for skill usage
1 parent 22e8ce8 commit 79c53ea

3 files changed

Lines changed: 3 additions & 4 deletions

File tree

kady_agent/instructions/gemini_cli.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ You have access to **skills** — curated playbooks containing tested scripts, A
2525
- Once a skill is active, its prescribed method (scripts, commands, API calls) is the **only acceptable approach**. Do not write your own alternative implementation.
2626
- If a skill's script fails, **debug and fix the failure** — do not abandon the skill and rewrite from scratch.
2727
- If several skills apply, use the most specific one first, then layer others as needed.
28+
- **Transitive activation:** Skills sometimes reference other skills by name (e.g. "use the generate-image skill for creating a schematic" or "activate scientific-visualization for figures"). When you encounter such a reference inside an activated skill, you **MUST** call `activate_skill` for the referenced skill immediately before continuing. Treat skill-to-skill references the same way you treat explicitly named skills in the prompt — they are mandatory, not suggestions.
2829

2930
### Step 2 — Verify before every tool call
3031

kady_agent/instructions/main_agent.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,7 @@ Choose the lightest reliable path:
1919

2020
- In `prompt`, pass the user's request, the expert's role/objective/constraints, relevant context, file paths, URLs, and explicit success criteria.
2121
- Do not prescribe implementation approaches, libraries, or fallback methods unless the user explicitly requires them.
22-
- **Skills passthrough (MANDATORY):** If the user's message names specific skills (e.g. "use the skills: 'writing', 'literature-review'"), you MUST include the exact skill names verbatim in the delegate prompt. Add this line at the top of every delegate prompt where skills are specified:
23-
`You MUST activate and follow these skills: <exact skill names from the user's message>`
24-
Do not paraphrase, omit, reorder, or summarize the skill list. The expert relies on exact names to activate the correct skills.
22+
- **Skills passthrough (MANDATORY):** If the user's message names specific skills (e.g. "use the skills: 'writing', 'literature-review'"), you MUST include the exact skill names verbatim in the delegate prompt. Do not paraphrase, omit, reorder, or summarize the skill list. The expert relies on exact names to activate the correct skills.
2523

2624
## Tool preferences
2725

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "kady"
3-
version = "0.2.2"
3+
version = "0.2.3"
44
description = "Kady — K-Dense BYOK Agent"
55
readme = "README.md"
66
requires-python = ">=3.13"

0 commit comments

Comments
 (0)