website2markdown AGENTS.md

Project instructions for website2markdown, a tool that turns web pages into Markdown text, with rules for choosing specialized workflows.

In plain words
What is it for?
Use it when working on the website2markdown project and deciding how to handle a product idea, bug, release, review, quality check, or design task.
Why use it?
It tells the coding agent which workflow to use for tasks such as fixing bugs, reviewing code, testing, deploying, or updating documentation.

Instructions file for CodexOpenCode

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add instructions/digidai/website2markdown/agents-md
Clone the repo
git clone --depth 1 https://github.com/Digidai/website2markdown

Made for: Codex, OpenCode.

Per session 220 This file is loaded in full into every session.
When invoked 220 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
Origin 89% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00220 $0.00220
Opus 5 $0.00110 $0.00110
Sonnet 5 $0.00044 $0.00044
Haiku 4.5 $0.00022 $0.00022

Measured 2d ago against content hash 5540b451ff5e, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

website2markdown AGENTS.md scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

89% identical to vibecop CLAUDE.md — 4 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

AGENTS.md · 24 lines

What it actually says

md-genedai (website2markdown)

URL-to-Markdown Cloudflare Worker with Chinese platform adapters.

Skill routing

When the user's request matches an available skill, ALWAYS invoke it using the Skill tool as your FIRST action. Do NOT answer directly, do NOT use other tools first. The skill has specialized workflows that produce better results than ad-hoc answers.

Key routing rules:

  • Product ideas, "is this worth building", brainstorming → invoke office-hours
  • Bugs, errors, "why is this broken", 500 errors → invoke investigate
  • Ship, deploy, push, create PR → invoke ship
  • QA, test the site, find bugs → invoke qa
  • Code review, check my diff → invoke review
  • Update docs after shipping → invoke document-release
  • Weekly retro → invoke retro
  • Design system, brand → invoke design-consultation
  • Visual audit, design polish → invoke design-review
  • Architecture review → invoke plan-eng-review
  • Save progress, checkpoint, resume → invoke checkpoint
  • Code quality, health check → invoke health
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 24 lines · 220 tokens per session scan A 5540b451ff5e

Subscribe to this mod's changes

website2markdown AGENTS.md is an instructions file published in the GitHub repository Digidai/website2markdown (8 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 220 tokens to every session, about $0.0011 per session on Opus 5. A static security scan graded it A with 0 findings. It is 89% identical to vibecop CLAUDE.md, differing in 4 lines, and is treated as a copy.