ワンクリックで
aim-github-sync
Synchronize GitHub issues, PRs, commits, and CI results to AI Memory
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Synchronize GitHub issues, PRs, commits, and CI results to AI Memory
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-sync |
| description | Synchronize GitHub issues, PRs, commits, and CI results to AI Memory |
| allowed-tools | Bash |
Synchronize GitHub issues, pull requests, commits, and CI results from the configured repository into the AI Memory discussions collection.
# Incremental sync (default) - only fetch updated items
/aim-github-sync
# Full sync - fetch all items from scratch
/aim-github-sync --full
# Check sync status (last sync time, items synced, errors)
/aim-github-sync --status
--incremental - Sync only updated items since last sync (default)--full - Full sync: fetch all items from scratch--status - Display sync status (last sync time, items synced per type)Sync requires GitHub credentials in .env:
GITHUB_TOKEN=ghp_your_token_here
GITHUB_REPO=owner/repo-name
GITHUB_BRANCH=main
GITHUB_SYNC_ENABLED=true
This skill invokes GitHubSyncEngine.sync() from src/memory/connectors/github/sync.py:
"${AI_MEMORY_INSTALL_DIR:-$HOME/.ai-memory}/scripts/memory/run-with-env.sh" "${AI_MEMORY_INSTALL_DIR:-$HOME/.ai-memory}/scripts/memory/github_sync_runner.py" "$@"
Uses the real CLI status path, which resolves canonical and legacy state-file locations for the configured repo:
"${AI_MEMORY_INSTALL_DIR:-$HOME/.ai-memory}/scripts/memory/run-with-env.sh" "${AI_MEMORY_INSTALL_DIR:-$HOME/.ai-memory}/scripts/github_sync.py" --status
If GITHUB_SYNC_ENABLED is not true, the skill will display:
Error: GitHub sync is not enabled. Set GITHUB_SYNC_ENABLED=true and configure GITHUB_TOKEN and GITHUB_REPO.
group_id uses normalized lowercase owner/repo~/.ai-memory/logs/activity.log~/.ai-memory/github-state/github_sync_state_<owner__repo>.jsonIf GitHub data exists but status or project scoping looks inconsistent, audit for legacy mixed IDs first:
"${AI_MEMORY_INSTALL_DIR:-$HOME/.ai-memory}/scripts/memory/run-with-env.sh" audit_group_ids.py
If the report shows legacy aliases, review the plan and then apply the migration:
"${AI_MEMORY_INSTALL_DIR:-$HOME/.ai-memory}/scripts/memory/run-with-env.sh" migrate_group_ids.py
"${AI_MEMORY_INSTALL_DIR:-$HOME/.ai-memory}/scripts/memory/run-with-env.sh" migrate_group_ids.py --apply
When the install still has a flattened legacy AI_MEMORY_PROJECT_ID, the apply step also updates that env entry to the canonical slash-form repo ID.