| 1 | import type { DocsPageDict } from "../types"; |
| 2 | |
| 3 | export const docsClaudeCode: DocsPageDict = { |
| 4 | metaTitle: "Bring your settings from another coding agent · Codewhale Docs", |
| 5 | metaDescription: "Keep the project instructions and skill folders you already have, and review a settings and MCP import plan before applying it.", |
| 6 | bodyClassName: "text-ink-soft leading-relaxed", |
| 7 | title: "Bring your settings from another coding agent", |
| 8 | lede: "Keep compatible project instructions and skill folders while choosing your own model connection. Review settings and plugin imports before applying them.", |
| 9 | sections: [ |
| 10 | { |
| 11 | "id": "instructions", |
| 12 | "title": "Keep your project instructions", |
| 13 | "blocks": [ |
| 14 | { |
| 15 | "p": "AGENTS.md is the canonical project instruction file. If a project has only `CLAUDE.md` or `.claude/instructions.md`, Codewhale reads it as a compatibility fallback; neither overrides Codewhale security controls." |
| 16 | }, |
| 17 | { |
| 18 | "p": "Plain `.claude/skills/<name>/SKILL.md` folders are discovered through the normal [skills registry](/docs/skills), with workspace trust and invocation controls." |
| 19 | } |
| 20 | ] |
| 21 | }, |
| 22 | { |
| 23 | "id": "settings", |
| 24 | "title": "Review a settings import", |
| 25 | "blocks": [ |
| 26 | { |
| 27 | "code": "/import-claude", |
| 28 | "lang": "Codewhale" |
| 29 | }, |
| 30 | { |
| 31 | "p": "The command reads settings from an existing `.claude` folder and writes a reviewable report and unapplied config bundle. MCP servers use the existing import consent flow; permissions and hooks need separate review." |
| 32 | }, |
| 33 | { |
| 34 | "note": "Secret-shaped and unknown environment values are not imported or echoed. Running the plan does not enable servers or apply permissions." |
| 35 | } |
| 36 | ] |
| 37 | }, |
| 38 | { |
| 39 | "id": "plugins", |
| 40 | "title": "Install the supported plugin subset", |
| 41 | "blocks": [ |
| 42 | { |
| 43 | "code": "/plugin install <spec>", |
| 44 | "lang": "Codewhale" |
| 45 | }, |
| 46 | { |
| 47 | "p": "The declarative `.claude-plugin/plugin.json` subset supports skills, commands, agent profiles and MCP declarations. Codewhale review hashes and explicit trust and enablement still apply." |
| 48 | }, |
| 49 | { |
| 50 | "note": "Codewhale does not run plugin runtimes from other agents. Hooks, plugin LSP declarations, build steps and TypeScript agents are outside this importer." |
| 51 | }, |
| 52 | { |
| 53 | "p": "[Read the compatibility limits](https://github.com/codewhale-hq/CodeWhale/blob/main/docs/CLAUDE_PLUGIN_COMPAT.md). Choose credentials and endpoints in [model setup](/models)." |
| 54 | } |
| 55 | ] |
| 56 | } |
| 57 | ], |
| 58 | next: [ |
| 59 | { |
| 60 | "href": "/docs/skills", |
| 61 | "label": "Manage skills", |
| 62 | "note": "Inspect compatible directories before importing." |
| 63 | }, |
| 64 | { |
| 65 | "href": "/docs/auth", |
| 66 | "label": "Connect a provider", |
| 67 | "note": "Use your chosen hosted or local model." |
| 68 | } |
| 69 | ], |
| 70 | sourceNote: "Source: docs/CONFIGURATION.md, docs/CLAUDE_PLUGIN_COMPAT.md and the claude-settings-import entry in docs/features.toml at the published release tag." |
| 71 | }; |
| 72 |