원클릭으로
aim-github-search
Search GitHub issues, PRs, commits, and CI results with semantic search and filters
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Search GitHub issues, PRs, commits, and CI results with semantic search and filters
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Detect content drift of an operator's scaffolded sanctum files (BOND, CAPABILITIES, CREED, INDEX, LORE, MEMORY, PERSONA, PULSE) against the evolving reference templates, and surface recommended add/remove WITH rationale — never a silent overwrite. Use on a session-start drift check, after the reference templates change, or when the operator asks whether their sanctum is current.
Check ai-memory system status and collection stats
Check ai-memory system status and collection stats
Manually save current session context to ai-memory
Search ai-memory for relevant stored memories
Search ai-memory for relevant stored memories
| name | aim-github-search |
| description | Search GitHub issues, PRs, commits, and CI results with semantic search and filters |
| allowed-tools | Read, Bash |
Search the discussions collection for GitHub-sourced content using semantic similarity with advanced filtering.
# Basic semantic search
/aim-github-search "authentication bug"
# Filter by type
/aim-github-search "API refactoring" --type github_pr
/aim-github-search "CI failures" --type github_ci_result
# Filter by state
/aim-github-search "deployment fix" --state merged
# Combine filters
/aim-github-search "security" --type github_issue --limit 10
--type <type> - Filter by GitHub document type: github_issue, github_pr, github_commit, github_ci_result, github_code_blob, github_issue_comment, github_pr_review, github_pr_diff--state <state> - Filter by state: open, closed, merged--limit <n> - Maximum results to return (default: 5)Each result includes:
GitHub content is stored in the discussions collection:
| Parameter | Value |
|---|---|
| Host | localhost |
| Port | 26350 (NOT the default 6333) |
| API Key | Required. Read from env: QDRANT_API_KEY |
| Collection | discussions |
| URL | http://localhost:26350 |
Every GitHub point in discussions has the following payload fields. Use these exact names for filtering.
| Field | Type | Description | Example |
|---|---|---|---|
content | string | Composed document text | "[PR #42] Add decay scoring..." |
type | string | Document type | "github_pr", "github_issue" |
source | string | Always "github" | "github" |
group_id | string | normalized lowercase owner/repo | "hidden-history/ai-memory" |
github_id | int | Issue/PR number | 42 |
state | string | Current state | "open", "closed", "merged" |
url | string | GitHub URL | "https://github.com/..." |
github_updated_at | string | ISO 8601 from GitHub API | "2026-02-16T..." |
files_changed | list[string] | Files touched (PRs, commits) | ["src/memory/decay.py"] |
labels | list[string] | Issue/PR labels | ["bug", "v2.0.6"] |
merged_at | string or null | PR merge timestamp | "2026-02-16T..." |
is_current | bool | Versioning: latest version | true |
Use query.py for direct Qdrant queries. The script applies source=github automatically
and accepts optional --type, --state, --limit, and --format flags.
# Replace "owner/repo-name" with your GITHUB_REPO value (e.g., "hidden-history/ai-memory")
bash "${AI_MEMORY_INSTALL_DIR:-$HOME/.ai-memory}/scripts/memory/run-with-env.sh" \
"${AI_MEMORY_INSTALL_DIR:-$HOME/.ai-memory}/_ai-memory/skills/aim-github-search/scripts/query.py" \
--group-id "owner/repo-name" --collection github
# Replace "owner/repo-name" with your GITHUB_REPO value
bash "${AI_MEMORY_INSTALL_DIR:-$HOME/.ai-memory}/scripts/memory/run-with-env.sh" \
"${AI_MEMORY_INSTALL_DIR:-$HOME/.ai-memory}/_ai-memory/skills/aim-github-search/scripts/query.py" \
--group-id "owner/repo-name" --type github_pr --state merged --limit 20 --collection github
# Returns the exact count via the Qdrant count endpoint (exact=true)
bash "${AI_MEMORY_INSTALL_DIR:-$HOME/.ai-memory}/scripts/memory/run-with-env.sh" \
"${AI_MEMORY_INSTALL_DIR:-$HOME/.ai-memory}/_ai-memory/skills/aim-github-search/scripts/query.py" \
--group-id "owner/repo-name" --format count --collection github
The parameterized query script at _ai-memory/skills/aim-github-search/scripts/query.py implements
the source=github + group_id filter pattern. It accepts:
python3 query.py \
--group-id GROUP_ID # required; e.g. "hidden-history/ai-memory"
[--type TYPE] # github_issue | github_pr | github_commit |
# github_ci_result | github_code_blob |
# github_issue_comment | github_pr_review | github_pr_diff
[--state STATE] # open | closed | merged
[--limit N] # default: 10
[--format table|json|count] # default: table; count uses Qdrant count endpoint (exact=true)
[--collection COLL] # default: discussions
Run via run-with-env.sh so memory.* imports and QDRANT_API_KEY are resolved automatically:
bash "${AI_MEMORY_INSTALL_DIR:-$HOME/.ai-memory}/scripts/memory/run-with-env.sh" \
"${AI_MEMORY_INSTALL_DIR:-$HOME/.ai-memory}/_ai-memory/skills/aim-github-search/scripts/query.py" \
--group-id "hidden-history/ai-memory" --type github_pr --state merged --collection github
~/.ai-memory/docker/.env as QDRANT_API_KEYsource NOT namespace, type NOT doc_typesource="github" filter is always applied to restrict results to GitHub contentgroup_id filter is always applied for mandatory tenant isolation (prevents cross-repo leakage)