mdtero-install
v0.1.8
Published
Unified installer for Mdtero agent skill bundles across Claude Code, Codex, Gemini CLI, Hermes Agent, OpenCode, and OpenClaw guidance.
Downloads
509
Maintainers
Readme
Mdtero Public Install Surface
The public local-client and install surface for Mdtero's current launch path.
Mdtero turns papers into reusable Markdown research packages.
This repository is the public home for the two active launch surfaces:
- the low-friction install script and fallback agent-skill installer for Claude Code, Codex, Gemini CLI, Hermes Agent, and OpenCode
- the browser extension for paper pages or local files that should stay in the user's browser session
Keyword discovery and API-key management stay in Mdtero Account.
Who this is for
This public install surface must work for two readers:
- Humans who want one clear path to install, connect an agent, use Mdtero, update, uninstall, and troubleshoot.
- Agents that receive a dashboard or documentation handoff and need to execute the right commands without confusing the uv-managed Python runtime with npm-managed skill files.
If you are human, start with the one-command installer below. If you are an agent, preserve the runtime boundary: the install script installs the uv-managed Python CLI, mdtero-install owns only fallback agent skill files, and OpenClaw stays on ClawHub.
Canonical install paths
Use the install script for the local Python CLI runtime and matching agent skill bundle:
curl -Ls https://mdtero.com/install.sh | sh -s -- --agent codex
mdtero login
mdtero doctorFor a reviewable install, download the script first:
curl -Ls https://mdtero.com/install.sh -o install-mdtero.sh
sh install-mdtero.sh --agent codexUnder the hood, the install script runs uv tool install mdtero, then mdtero setup --agent <target>. The npm installer remains available as a skill-only fallback:
npx mdtero-install show
npx mdtero-install version
npx mdtero-install install codex # or claude_code / gemini_cli / hermes / opencode
npx mdtero-install uninstall codex # removes only the selected agent skill bundleChoose the install target that matches the agent workspace:
- Claude Code:
curl -Ls https://mdtero.com/install.sh | sh -s -- --agent claude_code - Codex:
curl -Ls https://mdtero.com/install.sh | sh -s -- --agent codex - Gemini CLI:
curl -Ls https://mdtero.com/install.sh | sh -s -- --agent gemini_cli - Hermes Agent:
curl -Ls https://mdtero.com/install.sh | sh -s -- --agent hermes - OpenCode:
curl -Ls https://mdtero.com/install.sh | sh -s -- --agent opencode - OpenClaw keeps the dedicated route:
clawhub install mdtero
uv tool install mdtero installs the actual Python CLI runtime with local dependencies such as curl_cffi and pyzotero. mdtero setup --agent <target> installs the requested agent skill bundle after the runtime exists. mdtero-install show prints the active public manifest, mdtero-install version confirms the packaged installer version, mdtero login opens the Mdtero browser handoff, and mdtero doctor checks that MDTERO_API_KEY is available before an agent tries to parse, translate, inspect task status, or download artifacts.
For headless agents, create a fresh API key in Mdtero Account and copy the dashboard install prompt into the agent. Use mdtero login when you are sitting at an interactive terminal; use the dashboard prompt when the agent cannot open a browser.
For OpenClaw, confirm that the dedicated ClawHub route is available in your environment before relying on it. Normal parsing still runs through Mdtero's CLI/API and backend parser. If a paper has to stay local, use the extension or dashboard upload path for the user-provided PDF or file.
npx mdtero-install install openclaw is intentionally unsupported.
Claude Code, Codex, Gemini CLI, Hermes Agent, and OpenCode use the install script as the primary path. npx mdtero-install install <target> remains a fallback for installing only skill files when the Python runtime is already managed elsewhere.
Hermes can load Mdtero as a SKILL.md workflow from ~/.hermes/skills/mdtero. Hermes MCP configuration is a separate surface: Mdtero does not yet publish an active public MCP installer flow through mdtero-install.
What each install gives you
The mdtero runtime CLI is a Python package installed with uv tool install mdtero; that package declares local runtime dependencies such as curl_cffi and pyzotero.
The next Python package direction is an importable Cloud Parse SDK. That SDK should let developers use from mdtero import Mdtero to create hosted parse tasks, wait for completion, and download Markdown artifacts. It should not expose the local parser engine or backend routing internals.
The npm package mdtero-install remains the Node-based agent-skill installer. It writes or removes target-specific skill files for Claude Code, Codex, Gemini CLI, Hermes Agent, and OpenCode; it does not own the Python runtime or the canonical mdtero command. If a shell runs an npm-style mdtero shim that reports commands as "not implemented in the npm CLI yet", fix the PATH collision and use the Python runtime instead. The browser extension also is not a Python runtime and does not bundle curl_cffi or pyzotero.
Extension boundary
Use the extension only as a local executor. The backend decides the route plan; the extension follows that plan when a user must upload a PDF/local file or capture browser-context raw data. Parsing, Markdown generation, figure handling, and artifact packaging still happen in the Mdtero backend.
- the extension is not the backend
- the extension is not the normal path for CLI automation
- the extension is a JavaScript browser surface; it does not ship Python packages such as
curl_cffi - the extension should preserve user PDF/local file upload; routine DOI/URL parsing should use the built-in CLI/API/backend path
Release truth
- The website-led install manifest at
https://mdtero.com/install/manifest.jsonis the canonical public release seam. - GitHub Releases and the public
JonbinC/doi2mdrepository only mirror the website-led release chain. - The current launchability proof for the active launch surfaces is
npm --prefix mdtero-frontend run test:launchability-proof. - Desktop preview artifacts remain a deferred archive / preview surface and are not part of the current extension-and-CLI launch path.
Repo map
extension: extension source, tests, build output, and manifestshared: public client contract used by the extensioninstall: public install manifest and entry docshelper/openclaw/INSTALL.md: OpenClaw-specific routeskills: agent-specific install notes for install-script targets
Local development
npm install
npm run test:install
npm run test:public-contract