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

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).

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

설치 방법 보기

포함된 파일(1)

  • SKILL.md2.8 KB

SKILL.md(원문)

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

Generate AI-assisted content JSON for each entity using Claude, ready for injection into page templates.

MANDATORY PREPARATION

Invoke the sophon skill first. It contains the entity model, enrichment conventions, and the Context Gathering Protocol.

Follow the protocol before doing any work:

  1. Check loaded instructions for a ## Sophon Project Context section.
  2. Check .sophon.md in the project root.
  3. If neither exists, run sophon teach now — do NOT skip this step.

Requirements

ANTHROPIC_API_KEY must be set in the environment (unless using --dry-run). Enrichment will be retried with exponential backoff on transient errors (429/500/502/503/529).

export ANTHROPIC_API_KEY=your_key_here

Execution

npx @sophonn/sophon enrich

# Preview prompts without calling the API
npx @sophonn/sophon enrich --dry-run

# Custom output directory
npx @sophonn/sophon enrich --enrich-output ./data/enriched

# Specify entity source
npx @sophonn/sophon enrich --entities ./data/entities.json --enrich-output ./data/enriched

Output

One JSON file per entity written to data/enriched/ (or --enrich-output). Each file contains structured content fields that map to the // TODO sections in generated page templates. An enrichedAt timestamp is set for downstream freshness tracking.

Error Handling

  • Exponential backoff retry — automatically retries on 429/500/502/503/529 errors (default 3 retries, configurable via --max-retries)
  • Dry-run mode — --dry-run outputs the system and user prompts without calling the API, useful for reviewing what would be sent
  • If a single entity fails enrichment after all retries, log the error and continue — do not abort the batch.
  • If ANTHROPIC_API_KEY is missing (and not dry-run), exit early with a clear message mentioning --dry-run.
  • Do not fabricate enriched content if enrichment fails; leave // TODO markers visible.
  • Cache-aware — skips already-enriched entities unless --force is passed.

Programmatic API

import { enrich } from "@sophonn/sophon";

await enrich({
  entities: result.entities,
  output: "data/enriched",
  dryRun: false,     // set true to preview prompts without API calls
  maxRetries: 3,     // exponential backoff retry count
});

After Enrichment

Wire the enriched JSON files into the generated page templates by reading them during build time or at request time, depending on the host framework's data fetching model.

리뷰

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

댓글

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

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

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. 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일 업데이트

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일 업데이트

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.

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

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의 스킬 모두 보기

이 스킬의 문제 신고