ImportFromMyHarness
Import your setup from one AI coding harness into another. Instructions, rules, skills, agents, MCP servers and settings are converted by a small data-driven engine, and whatever can't be converted is listed instead of silently dropped.
Need another harness? Add its TOML (how) or open an issue.
Install
curl -fsSL https://raw.githubusercontent.com/ShulkwiSEC/ImportFromMyHarness/main/install.sh | sh
It checks for uv (and offers to install it), installs the tool, then offers a guided first run. No sudo; re-running upgrades. Flags: sh -s -- -y (no questions), sh -s -- --no-setup. Or without the script: uvx importfrommyharness (run once) or uv tool install importfrommyharness.
Use
importfrommyharness # guided setup (in a terminal)
importfrommyharness scan opencode:~/my-project
importfrommyharness import opencode:~/my-project --to claude # dry run
importfrommyharness import opencode:~/my-project --to claude --apply # write
Options: --out DIR (default: the source path), --only skill,mcp, --json.
Exit codes: 0 ok, 1 error, 2 bad usage, 3 done, with lossy or unmapped items (see report).
What you get
- Dry run by default. Existing JSON entries are never overwritten; existing files that change get a
.bak. - Things with no safe equivalent (npm plugins, permission rules, hooks, plugin config) are saved under
.importfrommyharness/unmapped/and listed in the report, never dropped silently. - Literal secrets in MCP env/headers are replaced with
${NAME}references;.envis never read. opencodemodes become Claude agents;default_agentbecomes"agent"in.claude/settings.json.- Scriptable:
--jsonreport on stdout, messages on stderr, no prompts outsidesetup.
Add a harness
Drop one file in src/importfrommyharness/harnesses/<name>.toml: a name, a detect list, and [[item]] rows (kind, path, fmt, optional map/xform/docs). Copy claude.toml as a template. A plugin pack sets host and origin instead of name (see opencode+oh-my-opencode-slim.toml). No Python changes unless you need a new field transform (add it to XF in engine.py).
Tests
uv run python -m unittest discover tests
Supported harnesses
A harness is just a TOML file, so supporting a new one means adding one file, not writing code.
| Harness | As source | As destination |
|---|---|---|
opencode (+ oh-my-opencode-slim) |
tested | experimental |
| Claude Code | experimental | tested |
Metadata
Release files for importfrommyharness 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| importfrommyharness-0.1.1.tar.gz | 11.3 kB | Without provenance | Details for importfrommyharness-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| importfrommyharness-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for importfrommyharness-0.1.1-py3-none-any.whl |
Total release size: 26.2 kB
Release files / importfrommyharness-0.1.1.tar.gz
| Download URL | importfrommyharness-0.1.1.tar.gz |
|---|---|
| Size | 11.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7d6a3b0e5f96c1249717a6da39a37d93b3d1f30d71bc639d6a8f4bd394718f08
|
|
BLAKE2b-256 checksum How to use checksums |
3d591ce5b430f900138e6206e71c73d716f92ff27f7d7dbf28446e414e70d3d7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.0 {"installer":{"name":"uv","version":"0.12.0","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Kali GNU/Linux","version":"2026.3","id":"kali-rolling","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / importfrommyharness-0.1.1-py3-none-any.whl
| Download URL | importfrommyharness-0.1.1-py3-none-any.whl |
|---|---|
| Size | 14.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
91017f4965f0ccdc03cad71ccfe47b42a2238b215de935bee93b41b0f126b10f
|
|
BLAKE2b-256 checksum How to use checksums |
ce5eb613026a7163c6a4428c2da8a303a3e4f862171fcddd5c82813dd1997770
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.0 {"installer":{"name":"uv","version":"0.12.0","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Kali GNU/Linux","version":"2026.3","id":"kali-rolling","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Security for importfrommyharness 0.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.