schelling-serendipity

schelling-serendipity is a skill for Claude Code, Codex from codyz123/schelling-protocol. It costs 0 tokens per session (2,694 once invoked), scanned A, original, MIT.

A skill for anonymously sharing conversation-based interests with the Schelling Protocol, which finds potentially relevant people through mathematical matching.

In plain words
What is it for?
Use it to publish matching signals, monitor potential matches, and check or disable the current serendipity setup.
Why use it?
It supports discovering useful connections without manually searching for them, but requires an Agent Card and API key.

Skill for Claude CodeCodex

Which agent this was written for is unclear — built for openclaw. Also seen: positional $N argument; built for openclaw.

Good fit Use it to publish matching signals, monitor potential matches, and check or disable the current serendipity setup.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/codyz123/schelling-protocol/schelling-serendipity
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add codyz123/schelling-protocol --skill schelling-serendipity
Clone the repo
git clone --depth 1 https://github.com/codyz123/schelling-protocol

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for schelling-serendipity

README.md
[![agentmods](https://agentmods.dev/badge/skills/codyz123/schelling-protocol/schelling-serendipity/github.svg)](https://agentmods.dev/skills/codyz123/schelling-protocol/schelling-serendipity)
Your own site
<a href="https://agentmods.dev/skills/codyz123/schelling-protocol/schelling-serendipity"><img src="https://agentmods.dev/badge/skills/codyz123/schelling-protocol/schelling-serendipity/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for schelling-serendipity

Your own site · 80×15
<a href="https://agentmods.dev/skills/codyz123/schelling-protocol/schelling-serendipity"><img src="https://agentmods.dev/badge/skills/codyz123/schelling-protocol/schelling-serendipity.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,694 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00000 $0.02694
Opus 5 $0.00000 $0.01347
Sonnet 5 $0.00000 $0.00539
Haiku 4.5 $0.00000 $0.00269

Measured 8d ago against content hash 6ec3991bec92, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

schelling-serendipity scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/schelling-serendipity/SKILL.md · 281 lines

How it starts

The opening of the file, as written. The whole thing — 281 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Schelling Serendipity Skill

Description

Enable passive serendipitous discovery on the Schelling Protocol. Your agent extracts signals from your conversations, publishes them anonymously, and the protocol matches you with people worth knowing — without either of you explicitly searching.

This skill covers: signal extraction, embedding generation, signal publishing, match monitoring, and match evaluation. All intelligence runs on the client side (your agent, your API costs). The server does only math.


Prerequisites

You need an Agent Card on Schelling Protocol. If you don't have one:

  1. Go to https://schellingprotocol.com/cards/setup
  2. Create a card through conversation
  3. Store the API key securely — you'll need it here

If you have a card, collect:

  • slug — your card's URL identifier (e.g., cody-zervas)
  • api_key — your card's Bearer token

Commands

Command What it does
schelling serendipity enable Extract signal, generate embeddings, publish, set up daily cron
schelling serendipity disable Delete signal, remove cron, stop all matching
schelling serendipity status Show current signal, active matches, stats
schelling serendipity audit Show exactly what's being shared about you
schelling serendipity check Manually trigger match check (also runs on cron)
schelling serendipity update Re-extract signal and republish

Enable Flow

When the user asks to enable Serendipity:

Step 1: Ensure Agent Card exists

GET https://schellingprotocol.com/api/cards/{slug}

If the card doesn't exist, create one first (see /cards/setup).

Step 2: Run signal extraction

Use this prompt with the user's memory files, recent conversations, and profile context as input:

You are extracting a structured signal for a passive matching system called Schelling Serendipity.

SOURCE MATERIAL:
<memory>[contents of ~/.openclaw/workspace/MEMORY.md or equivalent]</memory>
<user_profile>[contents of USER.md or profile documents]</user_profile>
<recent_conversations>[recent conversation summaries]</recent_conversations>

Extract the following dimensions. Be specific and concrete — not generic.

Output JSON:
{
  "needs": [{"tag": "lowercase-hyphenated-tag", "weight": 0.0-1.0, "context": "why you inferred this"}],
  "offers": [{"tag": "lowercase-hyphenated-tag", "weight": 0.0-1.0, "context": "evidence supporting this"}],
  "interests": ["string"],
  "personality": {"style": "string", "energy": "string", "collaboration": "string"},
  "context": {"location": "City, State", "timezone": "America/Denver", "stage": "string", "industry": "string"},
  "summary": "One paragraph describing this person to a matchmaker"
}

Extraction rules:
- needs: Things this person seems to need — stated or implied. Include speculative needs at lower weight (0.3). Examples: "co-founder", "graphic-designer", "tax-accountant", "angel-investor", "accountability-partner"
- offers: Concrete WORK SKILLS and SERVICES this person could be hired for. Think: what would they list on a freelance profile? Examples: "python-development", "tax-accounting", "graphic-design", "copywriting", "financial-modeling", "website-development". NOT abstract qualities like "leadership" or "problem-solving".
- interests: Recurring topics, hobbies, obsessions. Be specific: "stoicism" not "philosophy", "mechanical-keyboards" not "technology", "indie-hacking" not "entrepreneurship"
- weight: 1.0 = explicitly stated, 0.7 = strongly implied, 0.3 = weak inference
- Be concrete: "fort-collins-co" not "somewhere in colorado"
- summary: Written as if describing someone to a matchmaker. Specific, vivid, honest. What makes them distinctive?

Read the full file on GitHub · 281 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 8d ago First seen · 281 lines · 0 tokens per session scan A 6ec3991bec92

Subscribe to this mod's changes

schelling-serendipity is a skill published in the GitHub repository codyz123/schelling-protocol (4 stars, last pushed 5mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 2,694 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

clawmail

Canonical joelclaw mail coordination protocol for all agents. Use when announcing work, checking inboxes, reserving files, releasing locks, handling task handoffs, triaging stale reservations, or auditing coordination quality. Triggers on: 'clawmail', 'agent mail', 'joelclaw mail', 'reserve files', 'release locks'…

joelhooks/joelclaw · 94 tokens

agent-mail

Backward-compatible alias for the canonical clawmail protocol. Use when older prompts mention 'agent-mail'. For full, current coordination rules load the clawmail skill.

joelhooks/joelclaw · 37 tokens

mira-annotation-review

Review MIRA annotations in Markdown documents for semantic correctness, Markdown dialect validity, preservation, and relation integrity. Use for md, smd, qmd, and myst files containing research objects such as claims, evidence, questions, protocols, requests, typed claims, ids, and relations. Produces actionable…

stencila/stencila · 73 tokens

agent-communication-protocol

Open protocol for AI agent interoperability enabling standardized communication between agents, applications, and humans across different frameworks.

majiayu000/claude-skill-registry · 25 tokens

agent-teams

Coordinates Claude agent teams via filesystem protocol. Use when orchestrating parallel agents with task dependencies. Do not use for single-agent tasks.

athola/claude-night-market · 30 tokens

orchestrate

This skill should be used when the user asks to 'orchestrate a task', 'break down work into parallel agents', 'coordinate subtasks', 'run agents in parallel', or mentions 'multi-agent'. Decomposes complex tasks into tracked subtasks, dispatches parallel subagents, and coordinates until completion.

varun29ankuS/shodh-memory · 67 tokens