Agent skill

Prompt Rendering

by extra-org in extra-org/extra

Working on prompt templates, template loading/caching, or per-request rendering.

MITAuto-check passedBackend & APIs

Install Prompt Rendering

skills CLI
$ npx skills add extra-org/extra --skill prompt-rendering -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install extra-org/extra prompt-rendering --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/extra-org/extra.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/prompt-rendering .claude/skills/prompt-rendering && rm -rf skills-src

Use ~/.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/

Facts

Skill name
prompt-rendering
GitHub stars
113
Token cost
~533 tokens
SKILL.md length
201 words
Files
1
Skills in repo
14
Repo updated
First seen
Licence
MIT

At a glance

Working on prompt templates, template loading/caching, or per-request rendering.

  • Tasks that involve Prompt engineering
  • SKILL.md covers When to use this skill, Files to read first, Architecture rules and Implementation rules, plus 2 more sections
  • Calls make
  • Tasks that involve Caching

What it does

Prompt Rendering is an agent skill from extra-org/extra. Working on prompt templates, template loading/caching, or per-request rendering. Primary task is tasks/0005-prompt-rendering.md.

Its SKILL.md is about 530 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Backend & APIs, covering Prompt engineering and Caching. The repository describes itself as: Turn your product into an AI-powered assistant. The licence is MIT.

When your agent uses it

  • Tasks that involve Prompt engineering
  • Tasks that involve Caching

Example prompts

  • “/prompt-rendering”

What it can do on your machine

Read from SKILL.md and the folder at commit 023b0a0. It shows what the files ask for, not the result of running them.

  • Tool permissions

    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.

  • Runs code

    Shell commands in SKILL.md call:

    • make

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Prompt Rendering loads about 533 tokens when it runs. Until then it costs about 36 tokens; SKILL.md has 201 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~36
When it runs · the whole SKILL.md, loaded when a task matches
~533

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.

Safety

Auto-check passed

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.

SKILL.md

The full file from extra-org/extra at commit 023b0a0, republished under its MIT licence (© extra-org). 201 words, ~533 tokens.

Download SKILL.mdSave it as .claude/skills/prompt-rendering/SKILL.md (or your agent's skills folder).
name
prompt-rendering
description
Working on prompt templates, template loading/caching, or per-request rendering. Primary task is tasks/0005-prompt-rendering.md.
generated
true
source
.ai/skills/prompt-rendering.md
<!--
This file is generated by tools/skills.
Do not edit this file directly.
Edit .ai/skills/prompt-rendering.md and run `make generate-ai`.
-->

Skill: Prompt Rendering

When to use this skill

Use this when working on prompt templates, template loading/caching, or per-request rendering. Primary task: tasks/0005-prompt-rendering.md.

Files to read first

  • AGENTS.md
  • docs/PROMPT_RENDERING.md
  • docs/adr/0004-prompts-are-templates-rendered-per-request.md
  • docs/RUNTIME_LIFECYCLE.md

Architecture rules

  • Prompt files are templates with placeholders, not finished text.
  • Parsed templates may be cached; rendered prompts are never globally cached.
  • Values are resolved per request from the ExecutionContext.
  • Missing required variables fail loudly with a named error.
  • Templates are data, not code — no execution inside a template.
  • Prompt text is not a security boundary.

Implementation rules

  • Implement loading/caching/rendering in src/agentplatform/prompts.
  • Cache the parsed template keyed by path + version; never cache rendered output.
  • Use strict rendering: undeclared/missing variables raise errors.
  • Pull values only from the ExecutionContext (which is populated by the resolver plugins), not from globals.
  • Keep the source declaration (YAML) and resolution (runtime) separated.

Validation checklist

  • Parsed templates cached; rendered prompts not cached globally.
  • Missing required variable → clear, named error.
  • No executable logic in templates.
  • No secrets in prompt files.
  • Tests cover successful render, missing variable, and cache behavior.
  • make check passes.

Common mistakes to avoid

  • Caching rendered prompts (data-leak risk across tenants/requests).
  • Silently substituting blanks for missing variables.
  • Embedding logic/secrets in templates.
  • Treating prompt instructions as enforcement.

© extra-org, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .claude/skills/prompt-rendering of extra-org/extra.

Open the folder on GitHubat commit 023b0a0

Compare with similar skills

Prompt Rendering 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.

Prompt Rendering compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Prompt Rendering this skillextra-org/extra113—~533Automated safety check: PassMIT
Dspymagnus919/agent-skills111—~2kAutomated safety check: PassMIT
OmniRoute LLM Cachediegosouzapw/OmniRoute74k1 repos~529Automated safety check: PassMIT
Cache Credits AnalyzerTsinHzl/kiro2cc-proxy163—~1.1kAutomated safety check: PassMIT
Neo4j Aura Agent Skillneo4j-contrib/neo4j-skills114—~3.8kAutomated safety check: NotesMIT
Prompt Cachingdavila7/claude-code-templates32k5 repos~452Automated safety check: PassMIT

Similar skills

  • Dspy

    magnus919/agent-skills

    Optimize and build programmatic prompt systems with Stanford DSPy.

    111 GitHub stars~2k tokensUpdated yesterday
    AI & LLM EngineeringAuto-check passed
  • OmniRoute LLM Cache

    diegosouzapw/OmniRoute

    Documents OmniRoute's cache endpoints for reading cache statistics and clearing entries, statistics or the reasoning cache, with notes on TTL and similarity settings.

    74k GitHub starsUsed in 1 repo~529 tokens
    Backend & APIsAuto-check passed
  • Cache Credits Analyzer

    TsinHzl/kiro2cc-proxy

    分析 kiro2cc-proxy 访问日志,计算 Prompt Caching 节省的 credits。只要用户粘贴了含有"输入token 输出token 费用$ credits✓"格式的日志行,并询问节省了多少credits、缓存效率、cost分析等,立即使用此 skill。触发关键词:节省了多少credits、cache节省、分析日志、caching…

    163 GitHub stars~1.1k tokensUpdated today
    Backend & APIsAuto-check passed
  • Neo4j Aura Agent Skill

    neo4j-contrib/neo4j-skills

    Manages Neo4j Aura Agents via the v2beta1 REST API — create, list, get, update, delete, and invoke Aura agents backed by an AuraDB instance.

    114 GitHub stars~3.8k tokensUpdated yesterday
    Backend & APIsAuto-check: notes
  • Prompt Caching

    davila7/claude-code-templates

    Caching strategies for LLM prompts including Anthropic prompt caching, response caching, and CAG (Cache Augmented Generation) Use when: prompt caching, cache prompt, response cache, cag, cache…

    32k GitHub starsUsed in 5 repos~452 tokens
    Backend & APIsAuto-check passed
  • Continue Gemini Explicit

    OnlyTerp/prompt-cache-skills

    Continue's Gemini provider doesn't use the cachedContents API at all.

    114 GitHub stars~1.1k tokensUpdated 1 mo ago
    Backend & APIsAuto-check passed

More from extra-org/extra

All 14 skills in this repo
  • Testing

    extra-org/extra

    How to write and run fast, deterministic, behavior-focused pytest tests that never touch real external systems.

    113 GitHub stars~1.2k tokensUpdated 1 mo ago
    Auto-check passed
  • Architecture Review

    extra-org/extra

    Guard the project's architecture invariants. An agent skill from extra-org/extra.

    113 GitHub stars~1.1k tokensUpdated 1 mo ago
    Auto-check passed
  • Documentation

    extra-org/extra

    Keep the repository's documentation accurate, honest, and synchronized with the code.

    113 GitHub stars~848 tokensUpdated 1 mo ago
    Auto-check passed
  • The standard for writing Python here — small, typed, explicit, testable modules with side effects pushed to the edges.

    113 GitHub stars~1.4k tokensUpdated 1 mo ago
    Auto-check passed
  • Skill Authoring

    extra-org/extra

    How to create or restructure a skill so the .ai/skills/ system stays consistent, operational, and trustworthy.

    113 GitHub stars~1k tokensUpdated 1 mo ago
    Auto-check passed
  • Code Review

    extra-org/extra

    Senior-level code review for the agent platform — architecture and boundaries first, then correctness, security, testability, and simplicity.

    113 GitHub stars~1.3k tokensUpdated 1 mo ago
    Auto-check passed

Questions about Prompt Rendering

What does Prompt Rendering do?

Working on prompt templates, template loading/caching, or per-request rendering. Prompt Rendering is an agent skill from extra-org/extra. Working on prompt templates, template loading/caching, or per-request rendering.

When should I use Prompt Rendering?

Prompt Rendering fits situations like: tasks that involve Prompt engineering; tasks that involve Caching.

How do I install Prompt Rendering in Claude Code?

Run `npx skills add extra-org/extra --skill prompt-rendering -a claude-code`. Or copy the skill folder (.claude/skills/prompt-rendering in extra-org/extra) into .claude/skills/prompt-rendering in your project. Claude Code loads it when a task matches its description.

How do I install Prompt Rendering in Codex?

Run `npx skills add extra-org/extra --skill prompt-rendering -a codex`. Or copy the skill folder (.claude/skills/prompt-rendering in extra-org/extra) into .agents/skills/prompt-rendering in your project. Codex loads it when a task matches its description.

Can I use Prompt Rendering in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add extra-org/extra --skill prompt-rendering -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/prompt-rendering, .gemini/skills/prompt-rendering, .github/skills/prompt-rendering and .opencode/skills/prompt-rendering in your project.

What does Prompt Rendering need to run?

Going by SKILL.md and its folder, Prompt Rendering needs the command-line tools its instructions call (make).

Does Prompt Rendering access the network?

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.

Is Prompt Rendering safe to install?

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.

What licence does Prompt Rendering use?

Prompt Rendering is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Prompt Rendering use?

About 533 tokens (SKILL.md is roughly 2.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Prompt Rendering?

Skills that share tags, products or a category with Prompt Rendering: Dspy (magnus919/agent-skills, 111 stars), OmniRoute LLM Cache (diegosouzapw/OmniRoute, 74k stars), Cache Credits Analyzer (TsinHzl/kiro2cc-proxy, 163 stars) and Neo4j Aura Agent Skill (neo4j-contrib/neo4j-skills, 114 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Prompt Rendering?

extra-org (a GitHub organization) maintains it in extra-org/extra, which has 113 GitHub stars. The repository holds 14 skills in this directory. The repository was last updated on September 7, 2026.

Source: extra-org/extra on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.