بنقرة واحدة
crawl-anthropic
Crawl and snapshot Anthropic docs/assets
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Crawl and snapshot Anthropic docs/assets
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
| name | crawl-anthropic |
| description | Crawl and snapshot Anthropic docs/assets |
| when_to_use | Use when snapshotting Anthropic docs or assets into the local mirror — crawling code.claude.com and platform.claude.com pages for offline reference and rule harvesting. Triggers on: crawl anthropic, snapshot the docs, refresh the anthropic mirror. |
| argument-hint | [url] [--section S] |
Re-crawl all Anthropic web properties and update the asset catalog at src/components/root/anthropic/data.ts.
data.ts, extract all image/SVG/asset URLs with their alt text, nearest heading/caption, and section context (needed for clean naming, below).key/name from context per Clean naming. Never persist a CMS hash or a -WxH dimension suffix.assets array; identify new/removed/changed assets.LAST_CRAWLED.pnpm build to verify no regressions.Canonical source of truth: databayt/codebase → scripts/cdn/harvest-rules.ts (classifyExcluded / isWantedAsset). The same module gates the /icons showroom manifest and the S3 sync, so the crawler, the bucket, and the showroom always agree. Mirror its logic here.
KEEP — real artwork + functional assets. By AssetCategory:
illustrations, engineering, research, values, ui-icons, maps, benchmarks, events, animations, team, mars, fonts, documents.
DROP — brand/site chrome and third-party logos:
| Drop | What | Why |
|---|---|---|
partners category | every partner/customer/company logo (partner-*) | other companies' brands — not Anthropic's |
social category | x / linkedin / youtube / instagram glyphs | generic social chrome |
chrome (in brand) | favicons, apple-touch-icon, webclip, safari-pinned-tab, mstile, android-chrome | browser/OS furniture |
letter / logomarks (in brand) | *-a-large, *-a-small, *-logomark, *-symbol | sub-logo fragments |
sub-brand / model / section marks (in brand) | opus-icon, opus-wordmark, sonnet-*, haiku-*, news-icon, research-icon | model/section marks, not artwork |
KEEP-ALLOWLIST — the brand's own canonical identity, even though it lives in brand:
wordmark.svg, anthropic-wordmark.svg, claude-wordmark.svg, anthropic.svg, claude.svg, starburst.svg.
Rule of thumb: if it is a logo, favicon, partner mark, or social glyph → drop; if it is an illustration, diagram, concept graphic, or functional UI icon → keep. Keep exactly one canonical wordmark + the starburst per brand.
key and name come from crawl context, never from the source CDN filename:
-1000x1000 dimension suffixes.key is anthropic/<clean-name>.<ext> (flat vendor mirror — no sub-folders).-2), never a hash.Examples:
6903d22d0099…-1000x1000.svg → alt "Advanced tool use" → anthropic/advanced-tool-use.svgwww-cdn.anthropic.com/images/4zrzovbb/website/abc123-2400x1600.webp → heading "Building effective agents" → anthropic/building-effective-agents.webpwidth/height still go in the Asset record (from the source -WxH), just never in the name.
cdn.sanity.io/images/4zrzovbb/website/{hash}-{width}x{height}.{format}www-cdn.anthropic.com/images/4zrzovbb/website/{hash}-{width}x{height}.{format}cdn.prod.website-files.com/{siteId}/{fileId}_{name}.{format}assets.anthropic.com/m/{id}/original/{name}.{format}The same harvest + clean-naming rules generalise to other vendor brands (airbnb, apple, clickview). When that lands this becomes
/crawl-brand <brand>reading a per-brand URL index — the rules above stay identical.
Multi-slide bilingual brand carousels — Claude writes the deck, kun renders Anthropic-styled slides at exact platform sizes, a human approves, channels receive
Draft, stage, and publish brand social posts — Claude drafts, /higgs renders, a human approves, Hermes relays
Convert a file or URL to Markdown via MarkItDown (PDF, Office, images, audio, web)
Full pipeline — idea to production (chains every stage)
Autonomous block QA — detect, adversarially verify, fix safe tiers, hand the residual to a human
Technical spec — data model, file plan, refined acceptance criteria