一键导入
setup
Install, upgrade, or verify ctx persistent memory system
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Install, upgrade, or verify ctx persistent memory system
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | setup |
| description | Install, upgrade, or verify ctx persistent memory system |
| when_to_use | Installing or upgrading the ctx binary and database |
| argument-hint | None required |
| user-invocable | true |
| allowed-tools | ["Bash","AskUserQuestion"] |
Install, upgrade, or verify the ctx persistent memory system.
Check if ctx binary is in PATH and get current version:
command -v ctx && ctx version
Check for updates from GitHub releases:
bash ${CLAUDE_PLUGIN_ROOT}/scripts/check-update.sh
If binary not found OR an update is available, install/upgrade from GitHub releases:
bash ${CLAUDE_PLUGIN_ROOT}/scripts/install-binary.sh
Verify database exists:
ls -la ~/.ctx/store.db
If database missing, initialize:
ctx init
Show current status:
ctx status
Report results to user: binary location, version, database path, node count, tier breakdown. If an upgrade was performed, mention the old and new versions.
Create or update the project security baseline, profile, suppressions file, and gitignore entries for security scans
Fix or guide remediation for a specific security finding from the latest scan report
Run a security assessment using deterministic static analysis tools with LLM-powered triage
Inspect and optionally install security scanning tools for the security plugin
Query ctx memory and inject results into context
Show ctx memory status (node counts, types, tiers, tokens)