shade-imports

shade-imports is a skill for Claude Code, Codex from TryGhost/Ghost. It costs 41 tokens per session (314 once invoked), scanned A, original, MIT.

A coding rule for importing Shade through subpaths that identify its layer, such as primitives, components, patterns, page templates, or utilities. It also defines the internal alias used inside Shade itself.

In plain words
What is it for?
Use it when editing TS or TSX in Shade-consuming apps or files under `apps/shade/src`.
Why use it?
It keeps imports clear and stable, avoids the oversized root export, and prevents code from depending on internal source paths.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions AGENTS.md.

Good fit Use it when editing TS or TSX in Shade-consuming apps or files under apps/shade/src.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/tryghost/ghost/shade-imports
About the project

Ghost is a publishing platform for creating websites, blogs, memberships, subscriptions, and newsletters. Publishers and developers can use it through managed hosting or run it themselves, while contributors work on its monorepo, themes, and API.

TryGhost/Ghost · 55,632 stars · on GitHub · ghost.org

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 TryGhost/Ghost --skill shade-imports
Clone the repo
git clone --depth 1 https://github.com/TryGhost/Ghost

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 shade-imports

README.md
[![agentmods](https://agentmods.dev/badge/skills/tryghost/ghost/shade-imports/github.svg)](https://agentmods.dev/skills/tryghost/ghost/shade-imports)
Your own site
<a href="https://agentmods.dev/skills/tryghost/ghost/shade-imports"><img src="https://agentmods.dev/badge/skills/tryghost/ghost/shade-imports/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 shade-imports

Your own site · 80×15
<a href="https://agentmods.dev/skills/tryghost/ghost/shade-imports"><img src="https://agentmods.dev/badge/skills/tryghost/ghost/shade-imports.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 41 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 314 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00041 $0.00314
Opus 5.5 $0.00016 $0.00126
Sonnet 5.5 $0.00008 $0.00063
Haiku 4.5 $0.00004 $0.00031

Measured today against content hash 20ef3950521b, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

shade-imports scanned grade A with 1 finding 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 today.

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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

instead. Fetch web pages with `curl -s`.
apps/shade/skills/shade-imports/SKILL.md · 31 lines

What it actually says

Shade imports

Each Shade layer has its own import subpath, and whether an app loads Shade's stylesheet and ShadeApp depends on who owns its document. The rules live in Shade: Imports.

Docs links use https://shade.ghost.org. If the project's AGENTS.md says where Shade's docs are (another address, or a source folder), use that instead. Fetch web pages with curl -s.

Workflow

  1. Take each import from the subpath table in Imports.
  2. When adding Shade to an app, decide whether it is embedded or standalone with Embedded and standalone setup.
  3. For a standalone app, such as a Ghost app, follow build-ghost-app-ui.

Self-check

  • Every Shade import in your diff names a layer subpath from the table.
  • A standalone app imports Shade's stylesheet once and renders one ShadeApp at its root; an embedded Admin app has neither.
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. today Changed · -16 lines 20ef3950521b
  2. 2mo ago First seen · 47 lines · 41 tokens per session scan A 39fc75d2b739

Subscribe to this mod's changes

shade-imports is a skill published in the GitHub repository TryGhost/Ghost (55,632 stars, last pushed today), licensed MIT. It adds 41 tokens to every session and 314 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

cms-metadata-tagger

Takes a finished piece of content and produces a complete, archive-ready metadata record — including descriptive tags, subject classifications, rights notes, and an archival summary — for entry into a content management or digital archive system.

ur-grue/autopunk-media-skills · 49 tokens

cms-metadata-writer

Writes structured metadata fields — title tag, meta description, tags, category, slug, and Open Graph text — for a CMS entry, optimized for search discoverability and social sharing.

ur-grue/autopunk-media-skills · 42 tokens

cms-fields-writer

Generates the complete set of metadata fields — tags, categories, keywords, slug, and summary — needed to publish a piece of content in a content management system, ready to copy and paste into each field.

ur-grue/autopunk-media-skills · 47 tokens

manuscript-formatter

Reformats a manuscript, article, or long-form text to match a specific publication's structural and style requirements — adjusting headings, paragraph spacing, citation format, pull-quote placement, and front matter without altering the content itself.

ur-grue/autopunk-media-skills · 51 tokens

author-bio-writer

Writes a concise, publication-ready author bio in the appropriate register and length for the target outlet — from a one-line byline tag to a full contributor page paragraph.

ur-grue/autopunk-media-skills · 39 tokens

platform-distribution-advisor

Recommends the best platforms for distributing a finished piece of content, with a ranked list and a brief rationale for each recommendation based on the content type, format, length, and intended audience.

ur-grue/autopunk-media-skills · 45 tokens