{"id":49298,"library":"scion-toolkit","title":"Scion","description":"Scion is an AI-powered migration toolkit for translating C/C++ codebases to Rust, currently at version 1.0.0. It runs on top of AI coding harnesses, supporting both Claude Code and OpenCode. Key differentiators include smart continuation, automatic task decomposition, static analysis of C sources, API mapping generation, and built-in code review gates. The toolkit provides 11 static and 4 runtime gates for pre-review checks, a dashboard at localhost:3456 for progress monitoring, and a knowledge base for recording migration patterns and pitfalls. It requires Node.js >= 18 and a Rust toolchain.","status":"active","version":"1.0.0","language":"javascript","source_language":"en","source_url":null,"tags":["javascript"],"install":[{"cmd":"npm install scion-toolkit","lang":"bash","label":"npm"},{"cmd":"yarn add scion-toolkit","lang":"bash","label":"yarn"},{"cmd":"pnpm add scion-toolkit","lang":"bash","label":"pnpm"}],"dependencies":[{"reason":"Primary supported AI coding harness for running migration commands","package":"claude-code-cli","optional":true},{"reason":"Alternative AI coding harness; has limited hook support","package":"opencode","optional":true}],"imports":[],"quickstart":{"code":"# Clone Scion\n# git clone https://github.com/ZhifeiDou/Scion-HW.git\n\n# Run installer (macOS/Linux/Git Bash)\nchmod +x /path/to/Scion-HW/install.sh\n/path/to/Scion-HW/install.sh --project /your/r/project\n\n# Or specify project directory directly\n# ./install.sh --project /path/to/project\n\n# Initialize migration\ncd /your/project\nclaude\n/scion:init --source /path/to/c-project --target /path/to/rust-crate\n\n# Monitor progress at http://localhost:3456 or via /scion:status\n\n# If auto-continuation halts, run:\n# /scion:continue\n\n# To manually review deliverables:\n# /scion:review","lang":"shell","description":"Complete setup and first migration workflow: install, init, monitor, and optionally intervene."},"warnings":[{"fix":"Use Claude Code for full functionality, or manually refresh dashboard via `node scripts/build-dashboard.js`.","message":"OpenCode (v1) does not support Scion hooks for dashboard auto-refresh and file ownership guards; only commands and agents are available.","severity":"gotcha","affected_versions":">=1.0.0"},{"fix":"Change to your project directory (cd /your/project) before running `/scion:init`.","message":"Do not run `/scion:init` inside the Scion repo itself; it must be run inside your migration project after install.","severity":"gotcha","affected_versions":">=1.0.0"},{"fix":"Backup any custom commands/agents/scripts before running install.sh or install.ps1.","message":"Installer overwrites files in `.claude/commands/`, `.claude/agents/`, and `scripts/` without prompting on name collision.","severity":"breaking","affected_versions":">=1.0.0"}],"env_vars":null,"search_vec":"'1.0.0':19 '11':60 '18':92 '3456':75 '4':63 'ai':6,25 'ai-pow':5 'analysi':43 'api':47 'automat':39 'base':82 'built':52 'built-in':51 'c':45 'c/c':12 'check':70 'claud':30 'code':26,31,54 'codebas':13 'continu':38 'current':16 'dashboard':72 'decomposit':41 'differenti':35 'gate':56,65 'generat':49 'har':27 'includ':36 'javascript':97 'key':34 'knowledg':81 'localhost':74 'map':48 'migrat':8,85 'monitor':78 'node.js':91 'opencod':33 'pattern':86 'pitfal':88 'power':7 'pre':68 'pre-review':67 'progress':77 'provid':59 'record':84 'requir':90 'review':55,69 'run':21 'runtim':64 'rust':15,95 'scion':1,2 'smart':37 'sourc':46 'static':42,61 'support':28 'task':40 'toolchain':96 'toolkit':9,58 'top':23 'translat':11 'version':18","created_at":"2026-06-07T17:01:03.625638+00:00","updated_at":"2026-06-07T17:01:03.625638+00:00","problems":[{"fix":"Re-run installer with correct --project path, or copy scripts/ manually to <project>/scripts/","cause":"Installer did not copy scripts directory (manual install incomplete or --project flag missing)","error":"Error: Cannot find module '.../scripts/build-dashboard.js'"},{"fix":"Run `claude` (or `opencode`) first, then use `/scion:init` etc. inside the AI harness.","cause":"Scion commands are not available in the terminal directly; they are only available inside Claude Code or OpenCode after installation","error":"command not found: scion"},{"fix":"Install Rust toolchain: `curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh` and ensure `cargo` is in PATH.","cause":"Missing Rust toolchain or cargo not in PATH; /scion:doctor precheck failed","error":"Cannot read properties of undefined (reading 'cargo')"}],"ecosystem":"npm","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":null,"github":null,"docs":null,"changelog":null,"pypi":null,"npm":"scion-toolkit","openapi_spec":null,"status_page":null,"smithery":null,"categories":["devops","ai-ml"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-07","next_check":"2026-09-05","install_tag":null}}