DEDUPED Hot AI repos. Real use cases. What people build. Get the Monday 5

How to validate and deliver diagrams with the Archify CLI

Use the zero-dependency CLI to validate a workflow JSON and render it to HTML.

Short answer: Run cd archify; then run node bin/archify.mjs doctor to check the setup; run node bin/archify.mjs validate workflow examples/agent-tool-call.workflow.json --quality showcase --json. All steps.

Who it is forA developer who wants repeatable diagrams in CI or scripts.

The problemGenerated diagrams can drift or fail quality checks unnoticed.

The outcomeA validated workflow diagram written to an HTML file.

What you need first

  • A supported agent such as Cursor, Claude Code, Codex CLI or OpenCode
  • Node.js for the CLI and npx install options

Steps

  1. Run cd archify
  2. Run node bin/archify.mjs doctor to check the setup
  3. Run node bin/archify.mjs validate workflow examples/agent-tool-call.workflow.json --quality showcase --json
  4. Run node bin/archify.mjs preview workflow examples/agent-tool-call.workflow.json /tmp/workflow.html --quality showcase

Prompt for your agent

In the archify folder run node bin/archify.mjs doctor, then validate and preview examples/agent-tool-call.workflow.json to /tmp/workflow.html and tell me the result.

Caveat.

Use this in your AI agent

Ask your agent

Using the Deduped MCP, get the setup steps for tt-a1i/archify and "Validate and deliver diagrams with the Archify CLI"

Add Deduped to Claude Code once

claude mcp add --transport http deduped https://dedupedai.com/mcp

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer