Agent skill
skill-activation
Toggle skill auto-activation on/off or configure individual skills
Install this agent skill to your Project
npx add-skill https://github.com/blueraai/bluera-knowledge/tree/main/skills/skill-activation
SKILL.md
Skill Activation Configuration
Manage the bluera-knowledge skill auto-activation system.
Configuration File
Location: .bluera/bluera-knowledge/skill-activation.json (per-repo, in project root)
Default configuration (created if missing):
{
"enabled": true,
"threshold": 1,
"skills": {
"knowledge-search": true,
"when-to-query": true,
"search-optimization": true,
"advanced-workflows": true,
"store-lifecycle": true
}
}
Steps
1. Parse Arguments
Extract the subcommand from $ARGUMENTS:
- Empty or "status": Show current status
- "on": Enable skill activation
- "off": Disable skill activation
- "config": Interactive skill configuration
2. Read Current Configuration
Read .bluera/bluera-knowledge/skill-activation.json
If the file doesn't exist, use the default configuration shown above.
3. Execute Subcommand
For "status" or empty arguments:
Display the current configuration:
## Skill Activation Status
**Status**: [Enabled/Disabled]
**Threshold**: [threshold value]
### Individual Skills
| Skill | Status |
|-------|--------|
| knowledge-search | enabled/disabled |
| when-to-query | enabled/disabled |
| search-optimization | enabled/disabled |
| advanced-workflows | enabled/disabled |
| store-lifecycle | enabled/disabled |
Use `/bluera-knowledge:skill-activation config` to toggle individual skills.
For "on":
- Read configuration (or use defaults)
- Set
enabled: true - Ensure directory exists:
.bluera/bluera-knowledge/ - Write updated configuration
- Confirm: "Skill activation enabled. Skills will be suggested based on your prompts."
For "off":
- Read configuration (or use defaults)
- Set
enabled: false - Write updated configuration
- Confirm: "Skill activation disabled. No skill suggestions will appear."
For "config":
- Read current configuration
- Use AskUserQuestion to let user toggle skills:
{
"questions": [{
"question": "Which skills should auto-activate when relevant patterns are detected?",
"header": "Skills",
"multiSelect": true,
"options": [
{
"label": "knowledge-search",
"description": "Suggests when to query BK for library questions"
},
{
"label": "when-to-query",
"description": "Guides BK vs Grep/Read decisions"
},
{
"label": "search-optimization",
"description": "Tips for optimizing search parameters"
},
{
"label": "advanced-workflows",
"description": "Multi-tool orchestration patterns"
},
{
"label": "store-lifecycle",
"description": "Managing knowledge stores"
}
]
}]
}
- Update skills based on selection (selected = enabled, unselected = disabled)
- Write updated configuration
- Show updated status table
Notes
- Configuration is per-repo (stored in project's
.bluera/bluera-knowledge/directory) - The configuration directory is created automatically if it doesn't exist
- Changes take effect immediately on the next prompt
- When disabled globally, no skills are suggested regardless of individual settings
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
when-to-query
When to use BK vs Grep/Read for current project
sync
Sync stores from definitions config (bootstrap on fresh clone)
ui
Launch the admin web UI to browse stores, search, and manage knowledge
stores
List all indexed library stores
index
Re-index a knowledge store
test-plugin
Run comprehensive plugin validation test suite
Didn't find tool you were looking for?