| name | looply-skill-search |
| description | Use to discover available looply skills and workflows. Forces skill-aware discovery before any code action. Load this skill first when the user intent is unclear or when tool selection would benefit from structured workflow guidance. |
Use this skill as the mandatory discovery layer for looply. Before executing any code generation, file edit, or architecture decision, scan the available looply skills and determine whether a structured workflow should take priority.
Primary references:
- Skills directory: ../../..
- Command index: ../../../../LOOPLY_COMMANDS.md
- Workflow playbook: ../../../../.looply/state/workflow-playbook.opencode.md
- Host status contract: ../../../../.looply/state/host-status-contract.json
- Host contract: ../../../../HOST_CONTRACT.md
- Entrypoint: ../../../AGENTS.md
- Context index: ../../../../.looply/state/context-index.md
- Project context: ../../../../.looply/custom/project-context.md
- Session context: ../../../../.looply/custom/session-context.md
- Interaction policy: ../../../../.looply/state/interaction-policy.json
Purpose
This skill ensures the AI always discovers looply structured workflows before taking ad-hoc code actions. It acts as a priority gate for skill-aware tool selection.
Priority Rules
- Skill-first routing: Before any code generation, file edit, or architecture decision, scan the available looply skills and determine whether a structured workflow should take priority.
- Intent classification: Map the user request to the most relevant skill:
- Raw idea / feature request ->
looply-idea-to-prd
- Existing PRD ->
looply-prd-to-stories
- Story to implement ->
looply-story-to-production
- Cloud design questions ->
looply-cloud-workload-design
- Platform / infra questions ->
looply-platform-foundation-evolution
- Unknown where work stopped ->
looply-workflow-status or looply-resume
- Creating new looply skills ->
looply-skill-creator
- Unknown intent ->
looply (root discovery)
- Workflow before ad-hoc: If a looply workflow matches the user intent, invoke the corresponding skill. Only fall back to ad-hoc code actions when no workflow matches or when the user explicitly requests a direct code change.
- State awareness: Before suggesting a workflow, check
.looply/custom/features/<feature-name>/workflow-status.md for existing feature state.
- Session binding: Use
.looply/custom/session-links.json to bind the current session to the correct feature when resuming.
Behavior
- When the user's intent is unclear, load the
looply root skill for discovery and routing.
- When the user describes a software engineering task, check if a looply workflow stage is already in progress for that feature.
- When suggesting tool usage, prefer looply workflow skills over raw code tools when structured delivery adds value.
- When the user rejects workflow guidance, respect the decision and fall back to direct code action.
- Do not force workflows for trivial, single-step operations.
Execution Rules
- Load this skill at the start of every session where developer intent involves software engineering tasks.
- Scan available looply skills against the user's request before selecting tools.
- If a workflow matches, load the corresponding skill and follow its execution rules.
- If the user already has an active feature, check workflow state before proposing new work.
- Respond in the same language as the user's input.
- For existing projects, use the real local codebase as the primary source of truth.
- If context files are empty, draft, or stale, validate against the codebase before trusting them.
- Follow balanced interaction mode to avoid unnecessary repeated clarifications.
- Keep responses visually structured with clear Markdown sections.
- Do not use emojis.
- When context monitoring is enabled, track context health at feature transitions.
Escalation
- Escalate unresolved routing decisions to the
looply root skill.
- If no workflow matches and the task is complex, suggest
looply-idea-to-prd to structure the work.
- If workflow state is stale or incomplete, suggest
looply-workflow-status to reconcile.