{"id":49303,"library":"scion-c2rust","title":"Scion (C2Rust Migration Toolkit)","description":"Scion is an AI-powered migration toolkit for converting C/C++ codebases to idiomatic Rust, leveraging Claude Code or OpenCode as the underlying AI harness. Version 1.0.0 requires Node.js ≥18 and a Rust toolchain. It automates the full migration pipeline: source analysis, API mapping, task decomposition, implementation, and review. Key differentiators include support for multiple AI harnesses, a dashboard for progress monitoring at localhost:3456, and a self-healing continue command. Released as a community tool with active development as of 2026-04-06.","status":"active","version":"1.0.0","language":"javascript","source_language":"en","source_url":null,"tags":["javascript"],"install":[{"cmd":"npm install scion-c2rust","lang":"bash","label":"npm"},{"cmd":"yarn add scion-c2rust","lang":"bash","label":"yarn"},{"cmd":"pnpm add scion-c2rust","lang":"bash","label":"pnpm"}],"dependencies":[{"reason":"One of the supported AI coding harnesses required for migration operations.","package":"claude-code","optional":true},{"reason":"Alternative AI coding harness; hooks limited in OpenCode v1.","package":"opencode","optional":true},{"reason":"Required for compiling Rust code and running static analysis tools.","package":"rustup","optional":false}],"imports":[],"quickstart":{"code":"git clone https://github.com/ZhifeiDou/Scion-HW.git\ncd /your/migration-project\nchmod +x /path/to/Scion-HW/install.sh\n/path/to/Scion-HW/install.sh\nclaude\n/scion:init --source /path/to/c-project --target /path/to/rust-crate\n","lang":"bash","description":"Clone the Scion toolkit, run the installer to set up skills, commands, and agents, then start an interactive migration session with /scion:init."},"warnings":[{"fix":"Use Claude Code for full hook support, or manually run 'node scripts/build-dashboard.js' to refresh the dashboard.","message":"OpenCode v1 does not support PreToolUse/PostToolUse hooks, so hooks are skipped; manual refresh of dashboard may be needed.","severity":"gotcha","affected_versions":">=1.0.0"},{"fix":"Backup your existing .claude directory before running install.sh.","message":"Installer overwrites existing files in .claude/commands/ and .claude/agents/ without prompt on name collision.","severity":"breaking","affected_versions":">=1.0.0"},{"fix":"Run the AI harness initialization command first: 'claude init' or 'opencode init'.","message":"Project must be in a directory where you have already run 'claude init' or 'opencode init' before using /scion:init.","severity":"gotcha","affected_versions":">=1.0.0"},{"fix":"Use the provided installer scripts instead of manual file placement.","message":"Manual copying of files (old install method) is deprecated; always use the install.sh or install.ps1 scripts.","severity":"deprecated","affected_versions":">=1.0.0"}],"env_vars":null,"search_vec":"'-04':88 '-06':89 '1.0.0':31 '18':34 '2026':87 '3456':69 'activ':83 'ai':9,28,60 'ai-pow':8 'analysi':46 'api':47 'autom':40 'c/c':15 'c2rust':2 'claud':21 'code':22 'codebas':16 'command':76 'communiti':80 'continu':75 'convert':14 'dashboard':63 'decomposit':50 'develop':84 'differenti':55 'full':42 'har':29,61 'heal':74 'idiomat':18 'implement':51 'includ':56 'javascript':90 'key':54 'leverag':20 'localhost':68 'map':48 'migrat':3,11,43 'monitor':66 'multipl':59 'node.js':33 'opencod':24 'pipelin':44 'power':10 'progress':65 'releas':77 'requir':32 'review':53 'rust':19,37 'scion':1,5 'self':73 'self-heal':72 'sourc':45 'support':57 'task':49 'tool':81 'toolchain':38 'toolkit':4,12 'under':27 'version':30","created_at":"2026-06-07T17:01:04.542892+00:00","updated_at":"2026-06-07T17:01:04.542892+00:00","problems":[{"fix":"Install Claude Code CLI from docs.anthropic.com/en/docs/claude-code.","cause":"Claude Code CLI is not installed or not in PATH.","error":"Error: Command failed: claude --init\nCommand 'claude' not found"},{"fix":"Install via https://rustup.rs and ensure 'rustup', 'cargo', and 'rust-analyzer' are in PATH.","cause":"Rust toolchain not installed.","error":"Error: rustup not found. Please install Rust toolchain."},{"fix":"Provide both --source (C project) and --target (Rust crate) paths.","cause":"Required arguments --source and/or --target not provided to /scion:init.","error":"Error: Missing source argument. Usage: /scion:init --source <path> --target <path>"}],"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-c2rust","openapi_spec":null,"status_page":null,"smithery":null,"categories":["devops"],"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}}