بنقرة واحدة
portability-general
// Fallback guide for migrating data from platforms that do not yet have a dedicated NeuDrive portability manual.
// Fallback guide for migrating data from platforms that do not yet have a dedicated NeuDrive portability manual.
Use neuDrive as the canonical hub for platform import, export, listing, and status workflows through MCP plus platform-native entrypoints.
Guide for importing ChatGPT data into NeuDrive or restoring NeuDrive data into ChatGPT-compatible structures.
Checklist-first guide for importing Claude data into NeuDrive and exporting NeuDrive context back into Claude-compatible materials.
Guide for importing Codex workspace conventions into NeuDrive or exporting NeuDrive context back into Codex workflows.
| name | portability/general |
| description | Fallback guide for migrating data from platforms that do not yet have a dedicated NeuDrive portability manual. |
| when_to_use | Use when the user asks to migrate, back up, restore, import, or export platform data and no dedicated portability/<platform> manual exists, or the dedicated manual does not cover the needed surface. |
| tags | ["portability","migration","backup","general","neudrive"] |
| source | system |
| read_only | true |
Use this manual when the source platform does not have its own portability/<platform> manual yet, or when the platform-specific manual exists but does not cover the exact asset type the user wants to migrate.
Treat neuDrive as the canonical destination. Preserve exact files and package structure when possible, and never silently collapse a richer platform structure into a thinner summary.
portability/claude, portability/chatgpt, or portability/codex exists and clearly covers the task, read that first.Classify the source platform into the nearest of these neuDrive buckets before writing anything:
account-wide profile or preferencesmemory or durable factsprojects or workspacesconversations or transcriptsknowledge files or uploaded assetsskills, reusable prompt bundles, or tool bundlestools, connectors, or integrationsautomations or scheduled behaviorsofficial export packagesDo not merge all of these into one "import everything" blob.
update_profile for stable, account-wide rules and preferences.save_memory for dated notes, extracted facts, and smaller derived memories.create_project, get_project, and log_action for project reconstruction when the imported data truly belongs to a project or workspace.write_file for any imported data that should be preserved as files, not just for projects. If an item does not fit a first-class neuDrive domain such as profile, memory, project, or skill, the agent may still import it with write_file under a sensible custom directory structure.Use these rules whenever the source platform has reusable prompt bundles, tool bundles, assistant packages, or anything that should land under neuDrive /skills.
import_skillUse import_skill(name, files) when all of the following are true:
map[path]stringAllowed examples include:
SKILL.mdprompts/review.txtscripts/run.pyscripts/build.shconfig/tool.yamldata/schema.xsdDo not simplify the bundle to only SKILL.md.
If the skill directory includes prompts, scripts, config, schemas, or helper sources, include them too.
If the user asks for all skills, a workspace export, or any multi-skill batch, do not use import_skill as the primary transport.
import_skills_archiveUse import_skills_archive when any of these are true:
map[path]string would be lossy or tediousDo not read or base64 a large archive just to populate archive_base64.
Do not cat base64(zip), paste archive base64 into chat, or otherwise emit long archive strings into the conversation, because that can crash the session.
If a platform-specific manual defines an inline-archive threshold, check the zip size before reading it.
If the archive size cannot be checked safely, default to prepare_skills_upload.
Supported zip structures:
SKILL.mdprompts/...scripts/...assets/...
neuDrive infers the skill name from the archive filename.skill-a/SKILL.mdskill-a/scripts/run.pyskill-b/SKILL.mdskill-b/assets/icon.pngSKILL.md.All imported skill files land under /skills/<name>/... in neuDrive.
Do not ask the user to choose another destination path.
prepare_skills_uploadUse prepare_skills_upload when a full archive is the right payload shape but one MCP tool call cannot carry the archive reliably, or when the archive size cannot be checked safely before base64 transport.
This is the prepared upload path when inline MCP transport is not reliable:
scripts/, prompts, config, schemas, fonts, or assets.prepare_skills_upload.connectivity_probe_url, POST it first from the platform sandbox.200, use the returned curl_example directly from the sandbox and finish the upload without involving the user.Direct sandbox curl upload is preferred when the platform allows outbound POST to the neuDrive host.
Browser upload is the normal-user fallback.
Curl upload is the developer-friendly fallback.
Both still import into the neuDrive /skills root.
available, missing, or blocked.write_file under a clear custom directory structure when not.import_skill, import_skills_archive, and prepare_skills_upload by payload shape and transport limits.SKILL.md when the skill depends on other files.imported, archived, and blocked items plus the exact interface used for each.Use or adapt this prompt when another agent needs to execute portability work for an unsupported platform:
Read
/skills/portability/general/SKILL.mdfirst. Inventory the source platform into account-wide preferences, memory, projects/workspaces, conversations, knowledge files, reusable skills or bundles, tools/connectors, automations, and official exports. Map each category to the nearest neuDrive domain instead of collapsing everything into one summary. Useupdate_profilefor stable rules,save_memoryfor smaller derived notes,create_projectfor true project/workspace reconstruction, andwrite_filefor any additional imported data that should be preserved as files even when it does not fit a first-class neuDrive domain. The agent may design a sensible custom directory structure for those files. Useimport_skillonly for one text/code skill directory whose full contents can be represented as strings; if the user asks for all skills, a workspace export, or any multi-skill batch, do not useimport_skillas the primary transport.import_skills_archiveis only for archives already known to be small enough for one MCP tool call. If an archive is too large, if a platform-specific threshold says not to inline it, or if the archive size cannot be checked safely, switch toprepare_skills_upload, POST the returnedconnectivity_probe_urlwhen available, and use the returnedcurl_exampledirectly from the sandbox if that probe succeeds. If direct upload is blocked, hand the zip to the user for download and tell the user to use either the returned browser upload link or the returned curl command. All skill imports land under the neuDrive/skillsroot. Preserve unsupported structures as archive notes, structured metadata, or custom file trees instead of dropping them, and finish with imported, archived, and blocked items plus the exact interface used for each category.
{{CURRENT_USER_SNAPSHOT}}