Configures Claude Code hooks and Codex hooks.json/notify. Use when adding PreToolUse guards, Stop hooks, managed hooks, format-on-save, preflight, audits, or worktree/budget hooks.
日本語の概要は準備中です。原文の説明を表示しています。
Designs product and site search for end users. Use when choosing search engines, indexing, reindexing, relevance tuning, facets, autocomplete, merchandising, or search analytics.
インストールする前に、エージェントに与えられる指示の中身を確認できます。
Build search features that return the right results, fast.
| Need | Default | Deviate when |
|---|---|---|
| Full-text search, PostgreSQL already in the stack | tsvector/tsquery plus pg_trgm, both on GIN indexes | Ranking quality is the gap (ts_rank is not BM25): add a BM25 extension if the host allows it and its licence fits. Facets with counts, typo tolerance, merchandising, or latency at scale: move to a dedicated engine |
| Dedicated engine | Managed service when no one owns search-cluster operations | Self-host when data residency, cost at volume, or query control requires it and someone owns the cluster |
| Embedded or client-side search | Embedded index (such as SQLite FTS5) or a static client-side index | The corpus or its update rate outgrows a shipped index |
| Semantic search | Vector retrieval as a complement to lexical recall, in the existing database first when it supports vectors | Judged-query evidence shows the in-database option misses the latency or recall target |
| Hybrid search | Keyword + vector, merged with reciprocal rank fusion | Native fusion is missing from the edition or licence tier you will run: fuse in the application |
| Autocomplete | Prefix matching, search-as-you-type index, debounced queries | |
| Faceted search | Aggregation queries, filter counts, hierarchical facets | |
| Search analytics | Click-through rate, zero-result queries, query refinement patterns | |
| Search UI | The chosen engine's client UI library, if it has one | Custom components when the library cannot express the UX |
Lookup step before naming an engine. Engine capabilities, licences, and managed-service limits change from release to release, so shortlist by the criteria above, then check each candidate's current documentation and licence. Start from data/sources.json; the capability matrix in references/engine-and-relevance.md is a starting point, not current fact.
marketing-seomarketing-product-analyticsWhich search engine?
├── PostgreSQL already in the stack, and the workload is inside its limits?
│ (limits: "When to outgrow PostgreSQL search" in references/engine-and-relevance.md)
│ └── YES → PostgreSQL full-text search (tsvector + pg_trgm on GIN indexes)
│ ├── Ranking quality the gap? (ts_rank is not BM25)
│ │ └── YES → BM25 extension, if your host allows it and its licence fits
│ └── Outgrowing it? (facets with counts, typo tolerance, merchandising, latency at scale)
│ └── YES → Dedicated engine (below)
├── Dedicated engine: does anyone own search-cluster operations?
│ └── NO → Managed service. YES → self-hosted engine, if residency, cost, or control needs it
├── Static site or small, rarely changing corpus?
│ └── YES → Client-side index
├── Need semantic/meaning-based search?
│ └── YES → Vector retrieval, as a complement to lexical recall
└── Need both keyword AND semantic?
└── YES → Hybrid search (keyword + vector + reciprocal rank fusion;
check the edition or licence tier for native fusion)
Then run the lookup step: verify each shortlisted engine's current capabilities and licence.
Analytics are not enough on their own. Keep a judged-query set for the product's most important search intents and re-run it whenever you change ranking, analyzers, synonyms, or business boosts.
Minimum loop:
Use click data to find candidates for the judged set, but do not let click-through alone define quality. Position bias, sparse traffic, and merchandising effects can hide bad ranking decisions.
Require an offline win on the judged-query set with no unacceptable regression in protected query classes, then canary the candidate against the current ranker. Compare task completion or downstream conversion alongside latency, zero-result rate, abandonment, and reformulation. Log the ranker version with every impression so a bad release can be isolated and rolled back without rebuilding the index.
LIKE '%query%' at scale — a leading wildcard cannot use a B-tree index, so the query scans and slows linearly with data growth. A pg_trgm GIN index can serve it, but still gives no ranking, stemming, or relevance; use full-text search for search features.Before calling a search design or implementation ready:
k, and weights: ai-rag hybrid-fusion-patterns.md; reranker candidate budget: ai-rag ranking-pipeline-guide.md.Gate before invoking any foundation below: Each foundation has a
When to Apply/When to Skipsection. If your task matches a skip-condition, route to the foundation it names instead — don't pull in primitives the task doesn't need.
For engine capabilities, licences, and hosted-service limits, use the lookup step above the workflow. Record the consulted primary documentation and any unresolved capability in the recommendation.
Read relevant entries from learnings.consolidated.md only when continuing prior work, investigating a known pitfall, or debugging. Read raw learnings.md only when the consolidated entry points to it or dated detail is needed.
After applying it, if you encountered a pattern worth remembering, a mistake worth preventing, or a domain fact that surprised you, append one dated bullet to learnings.md via agents-skills-feedback-loop/scripts/append_learning.py. Do not modify SKILL.md itself.
まだレビューはありません。使ってみた感想をお寄せください。
概要と使いどころ
Configures Claude Code hooks and Codex hooks.json/notify. Use when adding PreToolUse guards, Stop hooks, managed hooks, format-on-save, preflight, audits, or worktree/budget hooks.
日本語の概要は準備中です。原文の説明を表示しています。
Configures and hardens Claude Code and Codex MCP servers. Use when connecting databases, APIs, SaaS, building servers, or serving a clearance-filtered knowledge base.
日本語の概要は準備中です。原文の説明を表示しています。
Owns instruction files: AGENTS.md, CLAUDE.md, personal and repo rules. Use when writing, pruning, auditing them, sharing rules across Claude and Codex, or fixing ignored rules.
日本語の概要は準備中です。原文の説明を表示しています。
Creates and audits agent skills: SKILL.md, references, scripts, runtime metadata. Use when writing, validating, or security-reviewing a skill, or fixing truncated skill listings.
日本語の概要は準備中です。原文の説明を表示しています。
Adds per-skill learnings loops for dated patterns, mistakes, and domain facts. Use when wiring skill memory, consolidation, or drift audits.
日本語の概要は準備中です。原文の説明を表示しています。
Chooses subagent, team, workflow, or debate and launches it on Claude Code or Codex. Use when delegating, running agent review boards, or installing shared agents.
日本語の概要は準備中です。原文の説明を表示しています。