惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
H
Help Net Security
云风的 BLOG
云风的 BLOG
Apple Machine Learning Research
Apple Machine Learning Research
H
Hackread – Cybersecurity News, Data Breaches, AI and More
Hugging Face - Blog
Hugging Face - Blog
博客园_首页
D
Docker
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
Blog — PlanetScale
Blog — PlanetScale
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
GbyAI
GbyAI
博客园 - Franky
B
Blog RSS Feed
Stack Overflow Blog
Stack Overflow Blog
L
LangChain Blog
量子位
V
Visual Studio Blog
Y
Y Combinator Blog
小众软件
小众软件
N
Netflix TechBlog - Medium
博客园 - 三生石上(FineUI控件)
Microsoft Security Blog
Microsoft Security Blog
雷峰网
雷峰网

Hacker News - Newest: "AI"

AI can't read an investor deck AI as an attorney? Student uses ChatGPT, Gemini to sue UW over alleged racial discrimination Hacking MCP Servers in AI Systems – The Rug Pull: Tool Changes After Approval GitHub - MeepCastana/KubeezCut: Free Web based video editor Can AI judge journalism? A Thiel-backed startup says yes, even if it risks chilling whistleblowers Coming soon: 10 Things That Matter in AI Right Now DARPA built an AI to fact-check enemy weapons claims What explains heterogeneity in AI adoption? When AI Meets Muscle: Context-Aware Electrical Stimulation Promises a New Way to Guide Human Movements - Department of Computer Science AI Changed How We Build. It Did Not Change What Matters. Linux rules on using AI-generated code - Copilot is OK, but humans must take 'full responsibility for the… Meta spins up AI version of Mark Zuckerberg to engage with employees Code Mode: Let Your AI Write Programs, Not Just Call Tools | TanStack Blog GitHub - Delavalom/graft: Go framework for building AI agents. Type-safe tools, multi-provider (OpenAI, Anthropic, Gemini, Bedrock), zero vendor SDKs. India's TCS tops estimates, says new AI models did not dent services demand Gen Z's fading AI hype Strong feeling: we are in a folded AI reality GitHub - machinarii/total-recall-catalog: A reference catalog of latest knowledge retrieval, memory & RAG systems GitHub - mensfeld/code-on-incus: Give each AI agent its own isolated machine with root, Docker, and systemd. Active defense detects and stops threats automatically.. Quantization, LoRA, and the 8% Problem: Benchmarking Local LLMs for Production AI Iran war: We spoke to the man making Lego-style AI videos that experts say are powerful propaganda Powell, Bessent discussed Anthropic's Mythos AI cyber threat with major U.S. banks GitHub - immartian/bellamem: Persistent belief-graph memory for AI agents. Retrieves decisive context by importance — not recency, not RAG, not /compact. recursive-mode: The Repo-Native Operating System for AI Engineering After the attack on Sam Altman's home, will AI CEO's go on the offensive? The biggest advance in AI since the LLM Opus 4.6 vs GPT 5.4 One Prompt Unity World Generation Test “AI polls” are fake polls Client Challenge Can AI be a 'child of God'? Inside Anthropic's meeting with Christian leaders
GitHub - seomd/cli: SEO.md CLI
skulquake · 2026-06-16 · via Hacker News - Newest: "AI"

SEO.md CLI logo

The official CLI for the SEO.md open standard — AEO (AI Engine Optimization) infrastructure for technical founders.

Use it to scaffold, validate, analyze, and sync SEO.md files directly from your repo.

Table of Contents

  • Why SEO.md
  • Install
  • Quick Start
  • Configuration
  • Commands
  • Local Development
  • Testing
  • Release Notes (Contributor Tagging)
  • Security
  • Specification Reference
  • License

Why SEO.md

SEO.md is a structured, version-controlled specification for describing your site, intent queries, and pages so AI engines can cite you more often.

  • Declare what matters (site, identity, keywords, intent, pages)
  • Run audits via your connected platform
  • Write back _analysis blocks and per-page playbooks into your repo

Install

Or run without installing (zero-install):

Verify:

Quick Start

1) Initialize

Run in the root of your project:

Or non-interactively with flags:

seomd init -y --type local
# or
seomd init --brand "Acme" --domain acme.com --primary-keyword "local seo"

2) Validate

3) Run an Audit (Analyze) and Sync

4) View Status

seomd status
seomd status --json

Configuration

Copy .env.example from your platform provider docs, or create one with the vars you need:

Required for live audits:

SEOMD_API_URL=
SEOMD_API_KEY=your_key_here

Optional:

SEOMD_PAYMENT_TOKEN= # x402 pay-per-scan token
SEOMD_DOMAIN= # override domain header

If you don't have a platform key yet, seomd init still works without .env.

Commands

seomd init

Scaffolds SEO.md, SEO.REVERSE.md, and the .seo/ intelligence directory.

Usage:

seomd init                              # interactive 5-question flow
seomd init -y --type local              # skip prompts, use defaults
seomd init --brand "Acme" --domain acme.com  # non-interactive with partial flags
seomd init --type saas --brand "MyApp" --domain myapp.com --primary-keyword "billing automation" --output ./new-project

Options:

Flag Description
-y, --yes skip prompts, use defaults
--type <type> site type: saas, ecommerce, local, blog, marketplace
--brand <name> brand name
--domain <domain> primary domain
--primary-keyword <keyword> primary keyword
--competitors <list> comma-separated competitor list
--output <dir> scaffold into a new (empty) directory instead of cwd

Behavior:

  • Interactive flow by default (5 questions)
  • Non-interactive when -y is set OR any config flag (--brand, --domain, --primary-keyword, --competitors) is provided
  • --type alone pre-selects site type in the interactive flow
  • --output writes all files to the target directory (must be empty or non-existent)

seomd validate

Validates your SEO.md against the spec requirements.

seomd status

Shows current citation rates and gap scores from _analysis.

  • --json outputs machine-readable JSON for scripts/CI

seomd analyze

Runs an AI search audit via your connected platform and writes results back into:

  • SEO.md (_analysis blocks)
  • SEO.REVERSE.md (generated reverse view)
  • .seo/pages/*.md (per-page playbooks when available)

seomd sync

Pulls cached/latest platform intelligence and writes it back to the same files as analyze.

  • --dry-run prints a preview and does not modify files

Built-in Templates

seomd-cli ships with type-specific templates under src/templates/. seomd init --type <type> uses the matching template automatically.

Type Template dir Best for
saas src/templates/saas/ Software products, B2B tools, web apps
blog src/templates/blog/ Content sites, newsletters, personal brands
ecommerce src/templates/ecommerce/ Online stores, DTC brands, product catalogs
local src/templates/local/ Service-area businesses, locations pages
marketplace src/templates/marketplace/ Two-sided platforms, directories

Each template contains:

  • SEO.md — pre-filled with type-specific intent queries, page structures, and negative keywords
  • SEO.REVERSE.md — reverse-engineer output scaffold with placeholders for competitor analysis

Want to customize a template? Copy the relevant folder, edit the placeholders ({{brand}}, {{domain}}, etc.), and use --type with your custom scaffold.

Local Development

Prefer the local entrypoint while developing:

node ./bin/seomd.js --help
node ./bin/seomd.js init
node ./bin/seomd.js validate
node ./bin/seomd.js status --json

Testing

Release Notes (Contributor Tagging)

To generate a contributor section for a release (commit-based attribution), maintain mappings in .github/contributors.yml and generate markdown from a tag range:

npm run release:contributors -- --from v1.0.2 --to v1.0.3

To write output to a file:

npm run release:contributors -- --from v1.0.2 --to v1.0.3 --out notes/v1.0.3-contributors.md

To generate a full release note (changes + contributors) for a tag:

npm run release:notes -- --tag v1.0.3

Automation: the repository includes a GitHub Actions workflow that runs on tag push (v*) and creates/updates the GitHub Release using scripts/release-notes.js.

Platform Connections & API Keys

To enable live intelligence writebacks (using automated platforms like Foxcite):

  1. Obtain a developer API key from your platform provider.

  2. Export the key as an environment variable:

    export SEOMD_API_KEY="your_api_key_here"
  3. Run seomd sync or seomd analyze.

Note: Never commit your API keys or .env files containing keys to version control.

Security

  • Never commit .env files or API keys
  • Use .env.example as the template for required variables

Specification Reference

Read the complete specification and guidelines at seomd.dev/spec.

License

MIT License. Developed and maintained by the community.