Kill AI Slop
yetone/kill-ai-slop
Find and remove AI slop — the generic, machine-default visual and copy tics of vibe-coded products — from a web project.
Render and serialize Portable Text to React, Svelte, Vue, Astro, HTML, Markdown, and plain text.
$ npx skills add sanity-io/agent-toolkit --skill portable-text-serialization -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install sanity-io/agent-toolkit portable-text-serialization --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/sanity-io/agent-toolkit.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/portable-text-serialization .claude/skills/portable-text-serialization && 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 "portable-text-serialization" agent skill from https://github.com/sanity-io/agent-toolkit/tree/main/skills/portable-text-serialization into .claude/skills/portable-text-serialization/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "portable-text-serialization", 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/sanity-io/agent-toolkit/tree/main/skills/portable-text-serializationType 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 sanity-io/agent-toolkit --skill portable-text-serialization -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install sanity-io/agent-toolkit portable-text-serialization --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/sanity-io/agent-toolkit.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/portable-text-serialization .agents/skills/portable-text-serialization && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "portable-text-serialization" agent skill from https://github.com/sanity-io/agent-toolkit/tree/main/skills/portable-text-serialization into .agents/skills/portable-text-serialization/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "portable-text-serialization", 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 sanity-io/agent-toolkit --skill portable-text-serialization -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install sanity-io/agent-toolkit portable-text-serialization --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/sanity-io/agent-toolkit.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/portable-text-serialization .cursor/skills/portable-text-serialization && 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 "portable-text-serialization" agent skill from https://github.com/sanity-io/agent-toolkit/tree/main/skills/portable-text-serialization into .cursor/skills/portable-text-serialization/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "portable-text-serialization", 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/sanity-io/agent-toolkit.git --path skills/portable-text-serialization--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 sanity-io/agent-toolkit --skill portable-text-serialization -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install sanity-io/agent-toolkit portable-text-serialization --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/sanity-io/agent-toolkit.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/portable-text-serialization .gemini/skills/portable-text-serialization && 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 "portable-text-serialization" agent skill from https://github.com/sanity-io/agent-toolkit/tree/main/skills/portable-text-serialization into .gemini/skills/portable-text-serialization/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "portable-text-serialization", 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 sanity-io/agent-toolkit portable-text-serializationInstalls 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 sanity-io/agent-toolkit --skill portable-text-serialization -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/sanity-io/agent-toolkit.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/portable-text-serialization .github/skills/portable-text-serialization && 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 "portable-text-serialization" agent skill from https://github.com/sanity-io/agent-toolkit/tree/main/skills/portable-text-serialization into .github/skills/portable-text-serialization/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "portable-text-serialization", 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 sanity-io/agent-toolkit --skill portable-text-serialization -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install sanity-io/agent-toolkit portable-text-serialization --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/sanity-io/agent-toolkit.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/portable-text-serialization .opencode/skills/portable-text-serialization && 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 "portable-text-serialization" agent skill from https://github.com/sanity-io/agent-toolkit/tree/main/skills/portable-text-serialization into .opencode/skills/portable-text-serialization/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "portable-text-serialization", 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.
portable-text-serializationRender and serialize Portable Text to React, Svelte, Vue, Astro, HTML, Markdown, and plain text.
Portable Text Serialization is an agent skill from sanity-io/agent-toolkit, published by the product's own GitHub organization. Render and serialize Portable Text to React, Svelte, Vue, Astro, HTML, Markdown, and plain text. Use when implementing Portable Text rendering in any frontend framework, building custom serializers for non-standard block types, converting Portable Text to HTML strings server-side, converting Portable Text to Markdown, extracting plain text from Portable Text, or troubleshooting rendering issues with marks, blocks, lists, or custom types.
Its SKILL.md is about 1.1k tokens, which your agent loads only when the skill is triggered. The skill folder holds 8 other files (for example `rules/astro.md`, `rules/html.md` and `rules/markdown.md`).
It sits in Frontend & Design, covering Static sites and blogs, Backend development and Markdown. It works with React, Astro, Svelte and Vue.js. The repository describes itself as: Collection of resources to help AI agents build better with Sanity. The licence is MIT.
Read from SKILL.md and the folder at commit 88d6cdf. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md (its code samples are groq).
From the folder's file list and the shell code blocks in SKILL.md.
Links to these hosts (documentation or services it may open):
portabletext.orgFrom 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.
Portable Text Serialization loads about 1.1k tokens when it runs. Until then it costs about 117 tokens; SKILL.md has 308 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 found no risky patterns in SKILL.md.
Automated 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 sanity-io/agent-toolkit at commit 88d6cdf, republished under its MIT licence (© sanity-io). 308 words, ~1,078 tokens.
.claude/skills/portable-text-serialization/SKILL.md (or your agent's skills folder). This skill also uses 7 other files; get the full folder from GitHub.Render Portable Text content across frameworks using the @portabletext/* library family. Each library follows the same component-mapping pattern: you provide a components object that maps PT node types to framework-specific renderers.
PT is an array of blocks. Each block has _type, optional style, children (spans), markDefs, listItem, and level.
Root array
├── block (_type: "block")
│ ├── style: "normal" | "h1" | "h2" | "blockquote" | ...
│ ├── children: [span, span, ...]
│ │ └── span: { _type: "span", text: "...", marks: ["strong", "<markDefKey>"] }
│ ├── markDefs: [{ _key, _type: "link", href: "..." }, ...]
│ ├── listItem: "bullet" | "number" (optional)
│ └── level: 1, 2, 3... (optional, for nested lists)
├── custom block (_type: "image" | "code" | any custom type)
└── ...more blocksMarks come in two forms:
marks[] like "strong", "em", "underline", "code"marks[] referencing entries in markDefs[] (e.g., links, internal references)Every @portabletext/* library accepts a components object with these keys:
| Key | Renders | Props/Data |
|---|---|---|
types | Custom block/inline types (image, code, CTA) | value (the block data) |
marks | Decorators + annotations | children + value (mark data) |
block | Block styles (h1, normal, blockquote) | children |
list | List wrappers (ul, ol) | children |
listItem | List items | children |
hardBreak | Line breaks within a block | — |
Read the rule file matching your framework:
rules/react.md — @portabletext/react or next-sanityrules/svelte.md — @portabletext/svelterules/vue.md — @portabletext/vuerules/astro.md — astro-portabletextrules/html.md — @portabletext/to-htmlrules/markdown.md — @portabletext/markdownrules/plain-text.md — @portabletext/toolkitThese are listed on portabletext.org but don't have dedicated rule files:
| Target | Package |
|---|---|
| React Native | @portabletext/react-native-portabletext |
| React PDF | @portabletext/react-pdf-portabletext |
| Solid | solid-portabletext |
| Qwik | portabletext-qwik |
| Shopify Liquid | portable-text-to-liquid |
| PHP | sanity-php (SanityBlockContent class) |
| Python | portabletext-html |
| C# / .NET | dotnet-portable-text |
| Dart / Flutter | flutter_sanity_portable_text |
PT renderers only handle standard blocks by default. Custom types (image, code, callToAction, etc.) require explicit component mappings — they won't render otherwise.
In React/Vue, define components outside the render function or memoize it. Recreating on every render causes unnecessary re-renders.
All libraries accept onMissingComponent to control behavior when encountering unknown types:
false — suppress warningsAlways expand references inside custom blocks:
body[]{
...,
_type == "image" => {
...,
asset->
},
markDefs[]{
...,
_type == "internalLink" => {
...,
"slug": @.reference->slug.current
}
}
}© sanity-io, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 7 other files in skills/portable-text-serialization of sanity-io/agent-toolkit.
Open the folder on GitHubat commit 88d6cdf
We found 1 copy of this SKILL.md (exact, near-identical or edited) in other folders, from 1 other GitHub owner. This page covers the copy in sanity-io/agent-toolkit, which our catalogue first saw on October 7, 2026.
Portable Text Serialization 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 |
|---|---|---|---|---|---|---|
| Portable Text Serialization this skillsanity-io/agent-toolkit | 188 | 1 repos | ~1.1k | Automated safety check: Pass | MIT | |
| Kill AI Slopyetone/kill-ai-slop | 1.3k | — | ~1.4k | Automated safety check: Pass | Apache-2.0 | |
| GlideSrivarsanK/Glide | 125 | — | ~1.7k | Automated safety check: Pass | Apache-2.0 | |
| Glide Component SegregatorSrivarsanK/Glide | 125 | — | ~1.2k | Automated safety check: Pass | Apache-2.0 | |
| Glide SetupSrivarsanK/Glide | 125 | — | ~868 | Automated safety check: Pass | Apache-2.0 | |
| Motion Dev Animations199-biotechnologies/motion-dev-animations-skill | 114 | 1 repos | ~2.8k | Automated safety check: Notes | MIT |
yetone/kill-ai-slop
Find and remove AI slop — the generic, machine-default visual and copy tics of vibe-coded products — from a web project.
SrivarsanK/Glide
Authoritative guide and toolset for AI agents to operate, configure, and visually design applications using Glide (@srivarsank/glide).
SrivarsanK/Glide
Component segregation guide for Glide (@srivarsank/glide). An agent skill from SrivarsanK/Glide.
SrivarsanK/Glide
Zero-error setup guide for AI agents to install and configure @srivarsank/glide visual editor on any React, Vue, Svelte, Astro, or HTML Vite project in one prompt.
199-biotechnologies/motion-dev-animations-skill
Creates 120fps GPU-accelerated animations with Motion.dev (Framer Motion successor) for React, Next.js, Svelte, and Astro projects.
saoudi-h/solar-icons
Add Solar Icons via @solar-icons/cli to any React, Vue, Svelte, Solid, Angular, React Native, Nuxt, Static, vanilla JS, or Laravel Blade project.
sanity-io/agent-toolkit
Sanity development best practices for schema design, GROQ queries, TypeGen, Visual Editing, images, Portable Text, Studio structure, localization, migrations, Sanity Functions, webhooks, Blueprints…
sanity-io/agent-toolkit
Convert HTML and Markdown content into Portable Text blocks for Sanity.
sanity-io/agent-toolkit
Plans, implements, and reviews migrations from other CMSes and content systems into Sanity.
sanity-io/agent-toolkit
SEO and AEO best practices for metadata, Open Graph, sitemaps, robots.txt, hreflang, JSON-LD structured data, EEAT, and content optimized for search engines and AI answer surfaces.
sanity-io/agent-toolkit
Produces a tailored Sanity Studio upgrade plan by inspecting the repository's installed versions, config, and source, then reporting only the breaking changes that actually apply.
sanity-io/agent-toolkit
Content experimentation and A/B testing guidance covering experiment design, hypotheses, metrics, sample size, statistical foundations, CMS-managed variants, and common analysis pitfalls.
Categories
Render and serialize Portable Text to React, Svelte, Vue, Astro, HTML, Markdown, and plain text. Portable Text Serialization is an agent skill from sanity-io/agent-toolkit, published by the product's own GitHub organization. Render and serialize Portable Text to React, Svelte, Vue, Astro, HTML, Markdown, and plain text.
Portable Text Serialization fits situations like: implementing Portable Text rendering in any frontend framework; building custom serializers for non-standard block types; converting Portable Text to HTML strings server-side; converting Portable Text to Markdown.
Run `npx skills add sanity-io/agent-toolkit --skill portable-text-serialization -a claude-code`. Or copy the skill folder (skills/portable-text-serialization in sanity-io/agent-toolkit) into .claude/skills/portable-text-serialization in your project. Claude Code loads it when a task matches its description.
Run `npx skills add sanity-io/agent-toolkit --skill portable-text-serialization -a codex`. Or copy the skill folder (skills/portable-text-serialization in sanity-io/agent-toolkit) into .agents/skills/portable-text-serialization 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 sanity-io/agent-toolkit --skill portable-text-serialization -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/portable-text-serialization, .gemini/skills/portable-text-serialization, .github/skills/portable-text-serialization and .opencode/skills/portable-text-serialization in your project.
SKILL.md names no scripts, command-line tools or credentials: Portable Text Serialization is instructions for the agent only. Our summary lists: Python 3.
SKILL.md names 1 domain. As links in the text: portabletext.org. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Portable Text Serialization is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.1k tokens (SKILL.md is roughly 4.3k 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 Portable Text Serialization: Kill AI Slop (yetone/kill-ai-slop, 1.3k stars), Glide (SrivarsanK/Glide, 125 stars), Glide Component Segregator (SrivarsanK/Glide, 125 stars) and Glide Setup (SrivarsanK/Glide, 125 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
sanity-io (a GitHub organization, an official publisher) maintains it in sanity-io/agent-toolkit, which has 188 GitHub stars. The repository holds 8 skills in this directory. The repository was last updated on October 5, 2026.
Source: sanity-io/agent-toolkit on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.