Standard Siteのロゴ

Standard Site

コミュニティ
greedychipmunk
standard-site

Convert data into Standard.site AT Protocol lexicon records and validate them against official schemas. Use when creating or verifying site.standard.publication, site.standard.document, site.standard.graph.subscription, site.standard.graph.recommend, or site.standard.theme.basic records — even if the user doesn't name Standard.site directly. Also use when working with AT Protocol blog or article publishing workflows, or when mapping content to standard.site format from other sources.

概要

公開者greedychipmunk
リポジトリagent-skills
スキル名standard-site
スター
24
フォーク
1
同梱ファイル
6
ライセンスMIT
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 6個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

    greedychipmunkがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Standard Site」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/greedychipmunk/agent-skills/tree/main/standard-site
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/greedychipmunk/agent-skills.git /tmp/agent-skills
mkdir -p .claude/skills
cp -r /tmp/agent-skills/standard-site .claude/skills/standard-site
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでStandard Siteを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にStandard Siteを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Standard Siteは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

Standard.site

Convert data into Standard.site lexicon records for the AT Protocol and validate them against the official schemas.

When to Use

  • Creating publication, document, subscription, recommend, or theme records
  • Converting blog posts, articles, or other content into standard.site format
  • Validating existing records against standard.site lexicon schemas
  • Working with AT Protocol publishing workflows that involve standard.site
  • Mapping content from other formats (RSS, Markdown, JSON) to standard.site

Lexicons at a Glance

Lexicon$typeRequiredOptional
Publicationsite.standard.publicationurl, nameicon, description, basicTheme, labels, preferences
Documentsite.standard.documentsite, title, publishedAtpath, description, coverImage, content, textContent, bskyPostRef, tags, links, labels, contributors, updatedAt
Subscriptionsite.standard.graph.subscriptionpublicationcreatedAt
Recommendsite.standard.graph.recommenddocument, createdAt—
Themesite.standard.theme.basicbackground, foreground, accent, accentForeground—

All colors in themes use site.standard.theme.color#rgb (r, g, b as integers 0–255) or site.standard.theme.color#rgba (adds a as integer 0–100).

Conversion Workflow

  1. Identify the target lexicon. Determine which record type the data maps to:

    • A blog/site with a URL and name → publication
    • An individual article or post → document
    • A user following a publication → subscription
    • A user endorsing a document → recommend
    • Color scheme for a publication → theme (embedded inside publication as basicTheme)
  2. Map required fields first. Every record must include $type and all required properties. See the quick reference table above.

  3. Add optional fields. Include optional properties when the source data provides them. Do not invent values for missing optional fields.

  4. Validate. Run the validation script before finalizing:

bash
uv run scripts/validate.py --input record.json

Or pipe JSON via stdin:

bash
cat record.json | uv run scripts/validate.py --stdin
  1. Fix any errors. The script reports each issue with the property path and expected format. Fix and re-validate until it passes.

Validation

The bundled scripts/validate.py checks records against the standard.site lexicon schemas:

  • Detects $type and validates against the matching schema
  • Checks all required properties are present
  • Checks property types (string, integer, datetime, blob, at-uri, ref, array, object)
  • Checks constraints (maxLength, maxGraphemes, integer ranges for colors)
  • Validates nested objects (basicTheme colors, contributors, preferences)
  • Supports validating a single record or an array of records
bash
# Validate a single record
uv run scripts/validate.py --input publication.json

# Validate from stdin
echo '{"$type":"site.standard.publication","url":"https://example.com","name":"Test"}' | uv run scripts/validate.py --stdin

# Validate multiple records in a JSON array
uv run scripts/validate.py --input records.json

Output is structured JSON to stdout, diagnostics to stderr. Exit code 0 = valid, 1 = invalid, 2 = usage error.

Record Templates

Publication

json
{
  "$type": "site.standard.publication",
  "url": "https://example.com",
  "name": "Example Blog",
  "description": "A blog about technology",
  "basicTheme": {
    "$type": "site.standard.theme.basic",
    "background": { "$type": "site.standard.theme.color#rgb", "r": 255, "g": 255, "b": 255 },
    "foreground": { "$type": "site.standard.theme.color#rgb", "r": 31, "g": 41, "b": 55 },
    "accent": { "$type": "site.standard.theme.color#rgb", "r": 59, "g": 130, "b": 246 },
    "accentForeground": { "$type": "site.standard.theme.color#rgb", "r": 255, "g": 255, "b": 255 }
  },
  "preferences": { "showInDiscover": true }
}

Document

json
{
  "$type": "site.standard.document",
  "site": "at://did:plc:abc123/site.standard.publication/3lwafzkjqm25s",
  "path": "/blog/getting-started",
  "title": "Getting Started",
  "description": "Learn how to use Standard.site",
  "textContent": "Full text of the article...",
  "tags": ["tutorial", "atproto"],
  "publishedAt": "2024-01-20T14:30:00.000Z"
}

Subscription

json
{
  "$type": "site.standard.graph.subscription",
  "publication": "at://did:plc:abc123/site.standard.publication/3lwafzkjqm25s",
  "createdAt": "2026-05-19T14:30:00.000Z"
}

Recommend

json
{
  "$type": "site.standard.graph.recommend",
  "document": "at://did:plc:abc123/site.standard.document/3mbfqhezge25u",
  "createdAt": "2026-05-19T14:30:00.000Z"
}

Gotchas

  • Trailing slashes. The spec says avoid trailing slashes on url (publication) and site (document), but some implementations include them. The validator trims trailing slashes before checking — do the same in your code.
  • site vs url. In documents, site points to a publication record via at:// URI, or to a publication URL via https:// for loose documents. Both are valid.
  • path must have a leading slash. Document path should start with / (e.g., /blog/post-slug).
  • publishedAt is required for documents. Unlike createdAt on subscriptions (optional), publishedAt is required and must be an ISO 8601 datetime.
  • createdAt is required for recommends. Unlike subscriptions where it's optional, recommends require createdAt.
  • Tags should not have hashtag prefixes. Use "tutorial" not "#tutorial".
  • RGB color values are integers 0–255. Not hex strings, not floats. RGBA alpha is 0–100 (percentage), not 0–255.
  • All four theme colors are required. A basicTheme with only background and foreground is invalid — accent and accentForeground are also required.
  • basicTheme is embedded in the publication record. It is not a standalone record — it's a nested object inside site.standard.publication.
  • content is an open union. Each entry must specify a $type. The validator checks for $type presence but does not validate specific content formats.
  • maxLength vs maxGraphemes. maxLength counts UTF-16 code units; maxGraphemes counts user-perceived characters. Both constraints apply simultaneously — a string can violate maxGraphemes while being under maxLength.

Verification

Standard.site records can be verified against their web presence:

  • Publications: https://{url}/.well-known/site.standard.publication should return the publication's AT-URI. For non-root publications, append the path: /.well-known/site.standard.publication/path/to/publication.
  • Documents: The document's HTML page should include a <link rel="site.standard.document" href="at://..."> tag in the <head>.

Verification is separate from schema validation — a record can be schema-valid but unverified, and vice versa.

Detailed References

Load these when you need full schema details, edge cases, or examples for a specific lexicon:

  • references/publication.md — Full publication schema, blob handling, preferences, extensibility
  • references/document.md — Full document schema, contributor format, content union, links
  • references/subscription.md — Full subscription schema, AT-URI format
  • references/recommend.md — Full recommend schema, permissions
  • references/theme.md — Full theme schema, RGB/RGBA color types, contrast guidelines

Available Scripts

  • scripts/validate.py — Validates standard.site records against lexicon schemas. Run with uv run scripts/validate.py --input <file> or --stdin.

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

よくある質問

AIスキル「Standard Site」では何ができますか?

Convert data into Standard.site AT Protocol lexicon records and validate them against official schemas. Use when creating or verifying site.standard.publication, site.standard.document, site.standard.graph.subscription, site.standard.graph.recommend, or site.standard.theme.basic records — even if the user doesn't name Standard.site directly. Also use when working with AT Protocol blog or article publishing workflows, or when mapping content to standard.site format from other sources.

TypingMindでStandard Siteを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Standard Siteはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにStandard Siteをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/greedychipmunk/agent-skills/tree/main/standard-siteを貼り付けてください。TypingMindがSKILL.mdを読み込み、関連ファイルをまとめて、チャットごとに有効にできるスキルとしてインストールします。

Standard Siteを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Standard Siteで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもStandard Siteを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Standard Site」は無料ですか?

はい。greedychipmunkがMITライセンスのもとでGitHubに公開しています。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇