Skip to main content

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.

demo

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, sh -s -- --star (also stars the repo via gh; the installer asks first otherwise, and -y never stars). 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; .env is never read.
  • opencode modes become Claude agents; default_agent becomes "agent" in .claude/settings.json.
  • Scriptable: --json report on stdout, messages on stderr, no prompts outside setup.

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.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for importfrommyharness 0.1.2
File Size Uploaded Provenance Actions
importfrommyharness-0.1.2.tar.gz 11.6 kB Without provenance Details for importfrommyharness-0.1.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for importfrommyharness 0.1.2
File Interpreter ABI Platform Actions
importfrommyharness-0.1.2-py3-none-any.whl Python 3 none any Details for importfrommyharness-0.1.2-py3-none-any.whl

Total release size: 26.9 kB

Release files / importfrommyharness-0.1.2.tar.gz

Download URL importfrommyharness-0.1.2.tar.gz
Size 11.6 kB
Tags Source
SHA-256 checksum
How to use checksums
4b4595fb76c64d7e8bd05fabbd0fb85780b2e35c077527cb67db8e02ca1220f1
BLAKE2b-256 checksum
How to use checksums
057e3287ad576cb51a40c0761e3463f5c8afacc17f51eb52989936ca500901cd
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.2-py3-none-any.whl

Download URL importfrommyharness-0.1.2-py3-none-any.whl
Size 15.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d370bf800e1a8daa12ee4bee29b773ffb801f88137658d9b8d6ea733828dcf97
BLAKE2b-256 checksum
How to use checksums
bd962a7f7e94f51260dc14d1642a5925a09325925c1670b7f4a3b6420b2e8e9b
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.2

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page