Skill: search-knowledge
Trigger: /search-knowledge [query] or auto-called by front-agent
Purpose: Load only the smallest useful knowledge slice for the current task.
Search Order
~/.front-agent/wisdom/summary.mdknowledge/index.md- Detail files only when needed:
~/.front-agent/wisdom/learnings.md~/.front-agent/wisdom/decisions.md~/.front-agent/wisdom/issues.mdknowledge/components.mdknowledge/patterns.mdknowledge/design-system.md
Fast-Skip Rules
- Pre-spawn skip:
front-agentmust runhooks/knowledge-has-content.shbefore invoking this skill. If it exits non-zero (placeholder-only / empty), do NOT spawn the agent — returnNo relevant entries foundinline and continue the workflow. - If summaries contain only placeholders or no relevant matches, stop early
- Do not open detail files unless the summary/index suggests a relevant hit
- Do not load unrelated domains "just in case"
Output Format
Return compact bullets only.
markdown## Knowledge Search: "[query]" ### Global - [max 3 one-line bullets] ### Project - [max 3 one-line bullets] ### Details - [max 3 one-line bullets]
Rules:
- Max 3 bullets per section
- One line per bullet
- Prefer summaries over long excerpts
- If nothing is relevant, say
No relevant entries found
Constraints
- Use
haiku - Read-only
- Keep results compact enough to paste directly into the next agent prompt


