基于 SOC 职业分类
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/majiayu000/claude-skill-registry --skill aim-search命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
LLM token logprobs and calibration. Per-decision confidence, ECE, Brier, reliability diagrams, low-confidence triage.
Analyze LLM token logprobs and calibration. Use for per-decision confidence, ECE, Brier scores, reliability diagrams, and low-confidence triage.
回顾最近 N 天的 Claude Code 使用记录——扫描原始会话数据,按主题分组汇总"我都做了什么",并从个人操作系统视角输出模式、风险与增删建议。当用户说 /recap、"看看我这几天做了什么"、"回顾一下我最近的会话"、"这两天我用 claude 干了啥"、"活动回顾" 时使用。
| name | aim-search |
| description | Search memory system with advanced filtering and intent detection |
| allowed-tools | Read, Bash |
Search the AI Memory Module using semantic similarity with advanced filtering by collection, type, and intent detection.
The memory system has 3 collections:
# Basic semantic search (searches code-patterns by default)
/aim-search "how do I implement authentication"
# Search specific collection
/aim-search "error handling patterns" --collection conventions
# Filter by memory type
/aim-search "recent bugs" --type error_fix
# Filter by multiple types
/aim-search "code patterns" --type implementation,refactor
# Use intent detection with cascading search
/aim-search "how do I implement auth" --intent how
# Limit results
/aim-search "database patterns" --limit 10
# Hide decay scores
/aim-search "authentication" --no-decay
--collection <name> - Target specific collection (code-patterns, conventions, discussions)--type <type> - Filter by memory type (see types below)--intent <intent> - Use intent detection (how, what, why)--limit <n> - Maximum results to return (default: 5)--group-id <id> - Filter by project (default: auto-detect from cwd)--decay - Show decay scores per result (default: enabled)--no-decay - Hide decay scores from outputimplementation - How features/components were builterror_fix - Errors encountered and solutionsrefactor - Refactoring patterns appliedfile_pattern - File or module-specific patternsrule - Hard rules that MUST be followedguideline - Soft guidelines (SHOULD follow)port - Port configuration rulesnaming - Naming conventionsstructure - File and folder structure conventionsdecision - Architectural/design decisions (DEC-xxx)session - Session summariesblocker - Blockers and resolutions (BLK-xxx)preference - User preferences and working stylecontext - Important conversation contextWhen using --intent, the system routes to the appropriate primary collection:
how → code-patterns (implementation examples)what → conventions (rules and guidelines)why → discussions (decisions and context)If primary collection has insufficient results, automatically expands to secondary collections.
Each result shows relevance score, content summary, metadata, and decay scores:
1. [0.85] Implementation of authentication middleware
Collection: code-patterns | Type: implementation | 2026-01-15
Decay: 0.72 (temporal: 0.61, semantic: 0.85)
2. [0.78] JWT token validation pattern
Collection: code-patterns | Type: implementation | 2026-01-10
Decay: 0.65 (temporal: 0.52, semantic: 0.78)
When decay scoring is disabled or timestamp is unavailable:
1. [0.85] Implementation of authentication middleware
Collection: code-patterns | Type: implementation | 2026-01-15
Decay: n/a (temporal: n/a, semantic: 0.85)
Results include three scores:
A memory with semantic=0.90 and temporal=0.30 is very relevant but old. A memory with semantic=0.60 and temporal=0.95 is less relevant but very recent.
final_score = 0.7 * semantic + 0.3 * 0.5^(age_days / half_life)
Sub-scores are recomputed client-side (Qdrant returns only the combined score):
age_days = (datetime.now(timezone.utc) - datetime.fromisoformat(stored_at)).days
temporal_score = 0.5 ** (age_days / half_life)
semantic_score = (combined_score - 0.3 * temporal_score) / 0.7
Half-life varies by memory type (configured via decay_type_overrides):
conversation, session_summary: 21 daysgithub_commit, github_code_blob: 14 daysgithub_issue, github_pr: 30 daysrule, guideline: 60 days# Find implementation examples in current project
/aim-search "authentication implementation"
# Find shared conventions across all projects
/aim-search "naming conventions" --collection conventions
# Find specific error fixes
/aim-search "database connection" --type error_fix
# Use cascading search with intent
/aim-search "why did we choose postgres" --intent why
# Find architectural decisions
/aim-search "database choice" --type decision --collection discussions
# Search multiple types
/aim-search "auth patterns" --type implementation,error_fix --limit 10
# Search without decay score display
/aim-search "auth patterns" --no-decay
This skill uses search_memories() from src/memory/search.py:
from memory.search import search_memories
results = search_memories(
query="your search query",
collection="code-patterns", # Optional
memory_type="implementation", # Optional, can be list
use_cascading=True, # Enable cascading search
intent="how", # Optional: auto-detects from query
limit=5
)