Twenty Syncable Entity Validation
twentyhq/twenty
Contributor guide for step three of adding a syncable entity to the Twenty server: write the validator, the migration action builder and the orchestrator wiring.
Handle a validity transition on a reference entity — a contract renewal, role change, or re-termed price where a full prior snapshot matters.
$ npx skills add Abilityai/cornelius --skill ref-supersede -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install Abilityai/cornelius ref-supersede --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/Abilityai/cornelius.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/ref-supersede .claude/skills/ref-supersede && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "ref-supersede" agent skill from https://github.com/Abilityai/cornelius/tree/main/.claude/skills/ref-supersede into .claude/skills/ref-supersede/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "ref-supersede", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/Abilityai/cornelius/tree/main/.claude/skills/ref-supersedeType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add Abilityai/cornelius --skill ref-supersede -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install Abilityai/cornelius ref-supersede --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Abilityai/cornelius.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.claude/skills/ref-supersede .agents/skills/ref-supersede && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "ref-supersede" agent skill from https://github.com/Abilityai/cornelius/tree/main/.claude/skills/ref-supersede into .agents/skills/ref-supersede/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "ref-supersede", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add Abilityai/cornelius --skill ref-supersede -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install Abilityai/cornelius ref-supersede --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Abilityai/cornelius.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.claude/skills/ref-supersede .cursor/skills/ref-supersede && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "ref-supersede" agent skill from https://github.com/Abilityai/cornelius/tree/main/.claude/skills/ref-supersede into .cursor/skills/ref-supersede/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "ref-supersede", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/Abilityai/cornelius.git --path .claude/skills/ref-supersede--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add Abilityai/cornelius --skill ref-supersede -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install Abilityai/cornelius ref-supersede --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Abilityai/cornelius.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.claude/skills/ref-supersede .gemini/skills/ref-supersede && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "ref-supersede" agent skill from https://github.com/Abilityai/cornelius/tree/main/.claude/skills/ref-supersede into .gemini/skills/ref-supersede/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "ref-supersede", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install Abilityai/cornelius ref-supersedeInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add Abilityai/cornelius --skill ref-supersede -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/Abilityai/cornelius.git skills-src && mkdir -p .github/skills && cp -r skills-src/.claude/skills/ref-supersede .github/skills/ref-supersede && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "ref-supersede" agent skill from https://github.com/Abilityai/cornelius/tree/main/.claude/skills/ref-supersede into .github/skills/ref-supersede/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "ref-supersede", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add Abilityai/cornelius --skill ref-supersede -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install Abilityai/cornelius ref-supersede --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Abilityai/cornelius.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.claude/skills/ref-supersede .opencode/skills/ref-supersede && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "ref-supersede" agent skill from https://github.com/Abilityai/cornelius/tree/main/.claude/skills/ref-supersede into .opencode/skills/ref-supersede/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "ref-supersede", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
ref-supersedeHandle a validity transition on a reference entity — a contract renewal, role change, or re-termed price where a full prior snapshot matters.
Ref Supersede is an agent skill from Abilityai/cornelius. Handle a validity transition on a reference entity — a contract renewal, role change, or re-termed price where a full prior snapshot matters. Creates the new status:active note (with validfrom/validuntil), marks the old note status:superseded + supersededby:[[New]], keeps both for history, and reindexes. Human-gated. Distinct from ref-ingest overwrite (which replaces the body + logs one line); use supersede only when the prior snapshot must be preserved. Company is the default scope.
Its SKILL.md is about 1.2k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
The repository describes itself as: AI-powered second brain template for Claude Code + Obsidian. The licence is MIT.
4 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit fd5e9a4. It shows what the files ask for, not the result of running them.
Pre-approves these tools, so the agent can use them without asking each time:
ReadWriteEditBashGlobGrepAskUserQuestionFrom allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md (its code samples are markdown and bash).
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Ref Supersede loads about 1.2k tokens when it runs. Until then it costs about 126 tokens; SKILL.md has 437 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check noted patterns worth knowing about, such as sudo or a known installer.
allowed-tools: Read, Write, Edit, Bash, Glob, Grep, AskUserQuestionAutomated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from Abilityai/cornelius at commit fd5e9a4, republished under its MIT licence (© Abilityai). 437 words, ~1,167 tokens.
.claude/skills/ref-supersede/SKILL.md (or your agent's skills folder).ℹ️ First, set expectations: before anything else, print one short line with this skill's version and its most recent change — the top entry of
metadata.changelogabove — e.g.ref-supersede v1.0 — recent: initial version. Then proceed.
A validity transition with history preserved. Overwrite-in-place (ref-ingest) is right when the latest fact simply replaces the old one. Supersede is right when the old snapshot itself matters — you want to be able to answer "what was the term of the 2026 Acme Corp engagement?" after the 2027 renewal exists. It keeps both notes: old superseded, new active, linked by superseded_by:.
Read first: resources/layered-brains/COMPANY-BRAIN-SCHEMA.md → "Canonical source of truth" (overwrite body vs. supersede-with-snapshot) + "The temporal model"; resources/layered-brains/REFERENCE-SCOPE-SCHEMA.md → "History".
Human-gated in every scope. Even in market/, a supersede (a structural, two-note change) is a human act — the autonomous market path overwrites, it never supersedes (ref-ingest flags such cases here instead).
| Source | Location | Read | Write | Description |
|---|---|---|---|---|
| Company family | Brain/Company/*/*.md | ✓ | ✓ (gated) | Old + new entity notes |
| LBS index | resources/local-brain-search/data/ | ✓ | ✓ (reindex) | Rebuilt after the write |
Resolve the note being superseded (Grep by name/alias). Confirm it is a validity transition (a term/window closed, a role or price was re-termed) and that a prior snapshot is worth keeping — otherwise this is an overwrite; route to /ref-ingest instead.
Present the before/after and get explicit approval (AskUserQuestion) before writing:
status: active): the current fact, with valid_from: (and valid_until: if it has a term), fresh as_of/updated, provenance: reference, and the entity's relations. Give it a name that disambiguates the window when needed (e.g. Acme Corp - Trinity Enterprise Build 2027).status: superseded): add superseded_by: "[[<New note title>]]"; leave its body as the historical snapshot; re-stamp updated only.Write the new note; edit the old note to status: superseded + the superseded_by: link. Append a ## Change Log line to both:
## Change Log
- 2026-07-08 — superseded by [[<New>]] on renewal (source: <...>) # on the old note
- 2026-07-08 — supersedes [[<Old>]]; new term 2027-01 → 2027-12 (source: <...>) # on the new notecd resources/local-brain-search && ./run_index.sh && ./run_daemon.sh restart # :7437, RESTART not reload(No BDG bootstrap — reference notes are BDG-excluded.)
status: superseded with a resolving superseded_by:, the new one status: active./ref-query for the entity returns the new (active) fact by default and can surface the old on "what changed?".## Change Log line describing the transition; the old body is intact as the snapshot./ref-audit reports no status/superseded_by integrity violation for the pair.market/).reference, or crystallize/lifecycle-classify/promote a record into a cognitive insight.© Abilityai, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in .claude/skills/ref-supersede of Abilityai/cornelius.
Open the folder on GitHubat commit fd5e9a4
Ref Supersede next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Ref Supersede this skillAbilityai/cornelius | 109 | — | ~1.2k | Automated safety check: Notes | MIT | |
| Twenty Syncable Entity Validationtwentyhq/twenty | 58k | — | ~3.3k | Automated safety check: Pass | Custom licence | |
| Error Handlingaffaan-m/ECC | 274k | 1 repos | ~2.7k | Automated safety check: Pass | MIT | |
| Python Error Handlingwshobson/agents | 40k | — | ~1.5k | Automated safety check: Pass | MIT | |
| Form Validationthedaviddias/Front-End-Checklist | 74k | — | ~633 | Automated safety check: Pass | MIT | |
| Error Handlingthedaviddias/Front-End-Checklist | 74k | — | ~416 | Automated safety check: Pass | MIT |
twentyhq/twenty
Contributor guide for step three of adding a syncable entity to the Twenty server: write the validator, the migration action builder and the orchestrator wiring.
affaan-m/ECC
Patterns for robust error handling across TypeScript, Python, and Go.
wshobson/agents
Python error handling patterns including input validation, exception hierarchies, and partial failure handling.
thedaviddias/Front-End-Checklist
A skill your agent uses when reviewing templates, rendered HTML, or shared components related to Validate forms accessibly.
thedaviddias/Front-End-Checklist
A skill your agent uses when reviewing scripts, client components, bundles, or runtime behavior related to Implement proper error handling.
affaan-m/ECC
TypeScript、Python、Goにわたる堅牢なエラー処理のパターン。型付きエラー、エラー境界、リトライ、サーキットブレーカー、ユーザー向けエラーメッセージをカバーします。
Abilityai/cornelius
Generate images using Google's Nano Banana (Gemini 2.5 Flash Image).
Abilityai/cornelius
Protocol for creating dated changelog files after significant agent sessions.
Abilityai/cornelius
Create long-form articles from knowledge base insights. An agent skill from Abilityai/cornelius.
Abilityai/cornelius
Framework for distinguishing research findings from hypotheses and speculative synthesis.
Abilityai/cornelius
Extract the transcript from a YouTube video by URL or video ID.
Abilityai/cornelius
Standard format for capturing and documenting insights in the knowledge base.
Handle a validity transition on a reference entity — a contract renewal, role change, or re-termed price where a full prior snapshot matters. Ref Supersede is an agent skill from Abilityai/cornelius. Handle a validity transition on a reference entity — a contract renewal, role change, or re-termed price where a full prior snapshot matters.
Run `npx skills add Abilityai/cornelius --skill ref-supersede -a claude-code`. Or copy the skill folder (.claude/skills/ref-supersede in Abilityai/cornelius) into .claude/skills/ref-supersede in your project. Claude Code loads it when a task matches its description.
Run `npx skills add Abilityai/cornelius --skill ref-supersede -a codex`. Or copy the skill folder (.claude/skills/ref-supersede in Abilityai/cornelius) into .agents/skills/ref-supersede in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add Abilityai/cornelius --skill ref-supersede -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/ref-supersede, .gemini/skills/ref-supersede, .github/skills/ref-supersede and .opencode/skills/ref-supersede in your project.
SKILL.md names no scripts, command-line tools or credentials: Ref Supersede is instructions for the agent only. Its frontmatter pre-approves these tools: Read, Write, Edit, Bash, Glob, Grep, AskUserQuestion.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found notes only (pre-approves every shell command (allowed-tools: bash)), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.
Ref Supersede is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.2k tokens (SKILL.md is roughly 4.7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Ref Supersede: Twenty Syncable Entity Validation (twentyhq/twenty, 58k stars), Error Handling (affaan-m/ECC, 274k stars), Python Error Handling (wshobson/agents, 40k stars) and Form Validation (thedaviddias/Front-End-Checklist, 74k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
Abilityai (a GitHub organization) maintains it in Abilityai/cornelius, which has 109 GitHub stars. The repository holds 56 skills in this directory. The repository was last updated on September 22, 2026.
Source: Abilityai/cornelius on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.