Doc2X CLI Skills Installation Guide
@noedgeai/doc2x-cli-skills is the official Agent Skills plugin from Doc2X. Once installed in an AI agent that supports Skills, mentioning Doc2X, doc2x-cli, PDF parsing, document translation, or batch processing lets the AI automatically invoke the Doc2X CLI — without you needing to memorize commands or parameters.
This page only covers installing and uninstalling the skill plugin. CLI commands and parameters are provided to the AI by the skill on demand — users don't need to learn them upfront.
Prerequisites
The skill plugin itself has no runtime dependencies. To use it, you need an AI agent that supports Agent Skills. The Doc2X CLI it drives requires:
| Item | Requirement |
|---|---|
| Node.js | >= 22 |
| Doc2X Account | Register at doc2x.noedgeai.com |
| Doc2X CLI | See installation steps below |
Install Doc2X CLI
The CLI is hosted on GitHub Packages, so configure the registry first:
npm config set @noedgeai:registry=https://npm.pkg.github.com
npm i -g @noedgeai/doc2x-cli@latestThe skill plugin installs directly from a GitHub repository — no registry config needed for the skill itself. But the CLI does need it. The skill will automatically check and guide you through these steps on first use.
Install the Skill Plugin
Option 1: Claude Code one-line install via npx
# Personal scope (across all projects)
npx github:noedgeai/doc2x-cli-skills
# Project scope (current project only, shareable with collaborators)
npx github:noedgeai/doc2x-cli-skills --projectThe script copies skill files to:
- Personal scope:
~/.claude/skills/doc2x-cli - Project scope:
.claude/skills/doc2x-cli
Option 2: Manual installation
git clone https://github.com/noedgeai/doc2x-cli-skills.git
cd doc2x-cli-skills
# Personal scope
cp -r skills/doc2x-cli ~/.claude/skills/doc2x-cli
# Project scope
cp -r skills/doc2x-cli .claude/skills/doc2x-cliOption 3: Codex CLI / other agents
git clone https://github.com/noedgeai/doc2x-cli-skills.git
cd doc2x-cli-skills
# User scope
cp -r skills/doc2x-cli ~/.agents/skills/doc2x-cli
# Repository scope
cp -r skills/doc2x-cli .agents/skills/doc2x-cliVerify
Confirm that doc2x-cli/SKILL.md exists in the target directory, then restart the corresponding agent client if needed.
doc2x-cli
Doc2X
PDF to MarkdownThen mention doc2x-cli, Doc2X, or your PDF-processing task in the conversation, for example:
- "Parse paper.pdf to Markdown"
- "Batch-translate all PDFs under ./docs to English"
- "Generate a Chinese-English bilingual PDF for paper.pdf"
The AI will pick the right doc2x command and parameters.
Uninstall
# Claude Code
rm -rf ~/.claude/skills/doc2x-cli # Personal scope
rm -rf .claude/skills/doc2x-cli # Project scope
# Codex / Agents standard
rm -rf ~/.agents/skills/doc2x-cli # User scope
rm -rf .agents/skills/doc2x-cli # Repository scopeTo also uninstall the CLI tool:
npm uninstall -g @noedgeai/doc2x-cliFrequently Asked Questions
Q: I get 404 when installing the CLI?
A: GitHub Packages registry isn't configured. Run:
npm config set @noedgeai:registry=https://npm.pkg.github.comQ: command not found: doc2x?
A: The npm global bin directory isn't in your PATH. Run npm config get prefix, then add the bin directory under that path to your PATH.
Q: The skill doesn't load automatically?
A: Check that doc2x-cli/SKILL.md exists in the skills directory for your agent, then restart the client. Claude Code uses ~/.claude/skills/doc2x-cli by default. Codex / Agents standard paths use ~/.agents/skills/doc2x-cli.
Q: Node version too old?
A: Requires Node >= 22. Upgrade with nvm: nvm install 22 && nvm use 22.
Related Links
- Skill Repository: github.com/noedgeai/doc2x-cli-skills
- Doc2X Website: doc2x.noedgeai.com
- Agent Skills Standard: agentskills.io
- Contact Us: Contact