본문으로 건너뛰기
cccskills
무료GitHub에 공개

sophon

Master context for Sophon — an agentic programmatic SEO toolkit. Teaches the framework, entity model, adapter system, and operating rules. Invoke this skill before using discover, generate, technical, enrich, optimize, or run so you have the full context. Call with 'teach' to run the onboarding interview and create .sophon.md.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

설치 방법 보기

포함된 파일(1)

  • SKILL.md7.2 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

Sophon is an open-source programmatic SEO toolkit that turns a seed keyword or entity list into framework-specific pages, sitemaps, schema markup, internal linking data, and optional AI enrichment outputs.

Context Gathering Protocol

Sophon produces generic, low-quality output without project context. Every skill MUST have confirmed project context before doing any work.

Gathering order — follow exactly:

  1. Check loaded instructions (instant): If your instructions already contain a ## Sophon Project Context section, proceed immediately.
  2. Check .sophon.md (fast): Read .sophon.md from the project root. If it exists and contains the required fields, proceed.
  3. Run sophon teach (REQUIRED): If neither source has context, run this skill with the teach argument NOW. Do NOT skip this. Do NOT attempt to infer context from the codebase — code tells you what exists, not what the user is trying to achieve.

Required context fields:

  • Niche / seed keyword — What topic or market is this SEO surface targeting?
  • Framework — Next.js, Astro, Nuxt, SvelteKit, or Remix
  • Site URL — Base URL for sitemap and schema generation
  • Content goal — What should each page accomplish? (rank for long-tail, capture leads, drive signups, etc.)
  • Entity source — Seed keyword expansion, CSV import, or existing data/entities.json
  • AI enrichment — Is ANTHROPIC_API_KEY available for content generation?

teach

When invoked as sophon teach, run this onboarding interview. Ask these questions one group at a time — do not dump all questions at once.

Group 1: Project basics

I'll ask a few quick questions so Sophon can work properly with your project. Let's start with the basics.

  1. What is the niche or topic you want to build a programmatic SEO surface for? (e.g. "best payroll software for small teams")
  2. What is your site's base URL? (e.g. https://mysite.com)
  3. Which framework does your project use? (Next.js, Astro, Nuxt, SvelteKit, Remix — or I can auto-detect)

Group 2: Content strategy

  1. What is the goal of each generated page? (e.g. rank for long-tail keywords, capture leads, drive free trial signups, build topical authority)
  2. Who is your target audience? (e.g. HR managers at SMBs, freelance designers, e-commerce store owners)
  3. What makes your offering different from what competitors rank for today?

Group 3: Technical setup

  1. How will you source entities? Choose one:
    • Seed keyword expansion (Sophon scaffolds entities from your niche)
    • CSV file (you provide a file with entity names and attributes)
    • Existing data/entities.json
  2. Do you have an ANTHROPIC_API_KEY for AI content enrichment? (yes / no / I'll add it later)

After the interview

Write all answers into .sophon.md at the project root using this exact format:

## Sophon Project Context

- **Niche**: [answer]
- **Site URL**: [answer]
- **Framework**: [answer]
- **Content goal**: [answer]
- **Target audience**: [answer]
- **Differentiator**: [answer]
- **Entity source**: [seed | csv | existing]
- **AI enrichment**: [yes | no | pending]

Then confirm:

Context saved to .sophon.md. You're ready to run Sophon skills. Next step: use the discover skill to find entities, or run to execute the full pipeline.


Core Concepts

Entity Model

Every Sophon workflow starts with entities — normalized records that represent the subjects of generated pages.

type EntityRecord = {
  id: string;              // deterministic, source-agnostic slug hash
  name: string;            // display name
  slug: string;            // URL-safe identifier
  source: "csv" | "seed";
  seedKeyword?: string;    // originating niche when discovered from seed
  metadata: {
    title?: string;
    description?: string;
    tags?: string[];       // used for internal linking scores
    attributes: Record<string, string>; // CSV columns or enrichment data
    ogImage?: string;      // OG image URL for social cards and hero images
    generatedAt?: string;  // ISO timestamp set during discovery for freshness tracking
    enrichedAt?: string;   // ISO timestamp set during enrichment, used for sitemap lastmod
  };
};

Entity IDs are deterministic — the same normalized entity produces the same ID whether it comes from a CSV or seed discovery. This makes discovery outputs composable and re-runnable without duplication.

Adapters

Sophon generates framework-specific static pages via adapters:

FrameworkOutput path
Next.jsapp/[slug]/page.tsx
Astrosrc/pages/[slug].astro
Nuxt 3pages/[slug].vue
SvelteKitsrc/routes/[slug]/+page.svelte + +page.ts
Remixapp/routes/[slug].tsx

For SvelteKit, always generate both files: +page.svelte contains the component; +page.ts contains the prerenderable entity payload.

Workflow Skills

Sophon breaks its workflow into composable skills. Each step corresponds to a CLI command and a programmatic API:

SkillCLIPurpose
discoversophon discoverFind entities from seed or CSV
generatesophon generateGenerate framework pages with JSON-LD schema and fallback content
technicalsophon technicalSitemap (with index), robots, schema (BreadcrumbList, AggregateRating), FAQ schema, configurable internal links
enrichsophon enrichAI-powered content enrichment (concurrent, cached, retry, dry-run)
optimizesophon optimizeGSC-powered performance analysis and recommendations
blogsophon blogGenerate supporting blog outlines per entity
keywordssophon keywordsKeyword difficulty and opportunity analysis with CSV data import
qualitysophon qualityContent quality scoring (readability, structure)
humanizesophon humanizeRemove AI-isms and mechanical patterns from text
runsophon runFull pipeline

Operating Rules

  1. Inspect before editing. Read the host project's structure before generating anything.
  2. Prefer additive changes. Do not overwrite existing routes or application code.
  3. Keep outputs isolated. Generated files go into predictable folders (data/, framework output root, public/sophon/).
  4. Preserve host conventions. Align with the project's naming and folder patterns.
  5. Scaffold, never fabricate. If AI content generation is not wired, insert // TODO blocks — do not invent placeholder text.
  6. Surface warnings. Hallucination-prevention comments, YMYL warnings, and duplicate slug checks are built into generated output. Preserve them.

Context Gathering

See the Context Gathering Protocol at the top of this skill. If .sophon.md does not exist, run sophon teach before proceeding with any other skill.

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

discover

무료

Discover and normalize entities for programmatic SEO from a seed keyword or CSV file. Writes normalized entities to data/entities.json. Use when the user wants to find, import, or expand a list of SEO targets.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

Sophiasuu/Sophon82026년 4월 14일 업데이트

enrich

무료

Enrich discovered entities with AI-generated content using Claude via the Anthropic SDK. Outputs structured JSON per entity for downstream use in page templates. Requires ANTHROPIC_API_KEY (or use --dry-run to preview prompts).

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

Sophiasuu/Sophon82026년 4월 14일 업데이트

generate

무료

Generate one static framework page per entity using the appropriate Sophon adapter. Supports Next.js, Astro, Nuxt, SvelteKit, and Remix. Use when the user wants to scaffold programmatic SEO pages.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

Sophiasuu/Sophon82026년 4월 14일 업데이트

optimize

무료

Pull real performance data from Google Search Console, analyze weak-performing pages, and generate actionable optimization recommendations. Optionally applies safe auto-fixes to Sophon-generated content.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

Sophiasuu/Sophon82026년 4월 14일 업데이트

run

무료

Execute the full Sophon pipeline: discover → generate → technical → enrich. Use when the user wants to run all steps in one command or build a complete pSEO surface from scratch.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

Sophiasuu/Sophon82026년 4월 14일 업데이트

technical

무료

Generate technical SEO assets: sitemap.xml (with sitemap index for large sites), robots.txt, per-entity schema markup (BreadcrumbList, AggregateRating), configurable internal link graph, and hreflang scaffold. Use when the user wants to add or update sitemap, robots, structured data, internal linking, or multilingual hreflang tags.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

Sophiasuu/Sophon82026년 4월 14일 업데이트

Sophiasuu의 스킬 모두 보기

이 스킬의 문제 신고