image-slot-allocator

image-slot-allocator is a skill for Claude Code from XuanRanL/loamwright-SEO-Skill. It costs 78 tokens per session (1,190 once invoked), scanned A, original, Apache-2.0.

An image planning document that decides which article sections should receive images and records the planned image slots.

In plain words
What is it for?
It is intended to choose image locations such as a cover and section images from an article outline.
Why use it?
It gives the image pipeline a layout plan, although this specification says the stage is not currently connected to the live pipeline.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the xuanran-seo-blog-writer plugin — 68 skills, 34 agents, 4 hooks shipped together

Good fit It is intended to choose image locations such as a cover and section images from an article outline.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/xuanranl/loamwright-seo-skill/image-slot-allocator
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 XuanRanL/loamwright-SEO-Skill --skill image-slot-allocator
Clone the repo
git clone --depth 1 https://github.com/XuanRanL/loamwright-SEO-Skill

Made for: Claude Code.

Or install xuanran-seo-blog-writer, the plugin that ships this one along with the rest of its 68 skills, 34 agents, 4 hooks.

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 image-slot-allocator

README.md
[![agentmods](https://agentmods.dev/badge/skills/xuanranl/loamwright-seo-skill/image-slot-allocator/github.svg)](https://agentmods.dev/skills/xuanranl/loamwright-seo-skill/image-slot-allocator)
Your own site
<a href="https://agentmods.dev/skills/xuanranl/loamwright-seo-skill/image-slot-allocator"><img src="https://agentmods.dev/badge/skills/xuanranl/loamwright-seo-skill/image-slot-allocator/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 image-slot-allocator

Your own site · 80×15
<a href="https://agentmods.dev/skills/xuanranl/loamwright-seo-skill/image-slot-allocator"><img src="https://agentmods.dev/badge/skills/xuanranl/loamwright-seo-skill/image-slot-allocator.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 78 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,190 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. 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.00078 $0.01190
Opus 5 $0.00039 $0.00595
Sonnet 5 $0.00016 $0.00238
Haiku 4.5 $0.00008 $0.00119

Measured 7d ago against content hash 7613efca8506, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

image-slot-allocator 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 7d 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.

subskills/image/image-slot-allocator/SKILL.md · 104 lines

How it starts

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

Image Slot Allocator

⚠️ NOT WIRED into the deterministic pipeline (2026-07-17 audit). There is no image-slot-allocator stage in scripts/pipeline/orchestrator.py's Stage table, nothing produces its declared image_slots.json, and _match_image_slot_to_section exists only as pseudo-code in section-drafter/SKILL.md. In the live pipeline the image contract is: the per-section image_slot: true booleans in outline.json sections[], and image-prompts.json (slot_id source of truth). The designer names slots cover + sequential section_1|section_2|section_3 (see agents/image-prompt-designer.md), and scripts/build/assemble.py auto-injects [IMAGE-SLOT-cover] after the Abstract for no_inline projects. Do NOT rely on this file describing a running stage; it is a design doc for a stage that was never enabled (Rule 6). Wire it before referencing it as live, and if you do, note that its own spec uses sequential section_{i+1} ids.

Decides WHERE images go. Doesn't generate them (that's image-prompt-designer + openai-image-generator).

Inputs

  • workspace/{task_id}/outline.json — section structure
  • workspace/{task_id}/angle.json — format_id
  • state.brief.image_count — default 6 (1 cover + 5 inline; scripts/_core/image_policy.py, raised from 4 on 2026-08-17)

Output

workspace/{task_id}/image_slots.json:

{
  "slots": [
    {
      "slot_id": "cover", "purpose": "hero / featured image / OG card",
      "aspect_ratio": "16:9", "size": "3840x2160", "is_featured_image": true,
      "body_render": false,
      "h2_anchor": null, "after_paragraph": 0
    },
    {
      "slot_id": "section_1", "h2_anchor": "1-gloomis-nrx",
      "purpose": "showcase top pick", "aspect_ratio": "4:3", "size": "3264x2448",
      "is_featured_image": false, "body_render": true
    },
    ...
  ]
}

Critical: the cover slot has body_render: false. The drafter MUST NOT emit [IMAGE-SLOT-cover] or ![cover](images/cover.png) in the markdown body — WordPress themes render the featured image at the top of the post automatically, and inlining the cover in the body produces a visible duplicate.

Read the full file on GitHub · 104 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. 7d ago First seen · 104 lines · 78 tokens per session scan A 7613efca8506

Subscribe to this mod's changes

image-slot-allocator is a skill published in the GitHub repository XuanRanL/loamwright-SEO-Skill (47 stars, last pushed 24d ago), licensed Apache-2.0. It adds 78 tokens to every session and 1,190 once invoked, about $0.0004 per session on Opus 5. 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-09-03.

Related

Other skills, from other repositories

c2pa-metadata

Embed a C2PA provenance manifest into an AI-generated marketing asset (PNG, JPG, WebP, GIF, TIFF, MP4, MOV, WebM, MP3, WAV, PDF) via scripts/embed-c2pa.py — produces a signed copy of the file carrying IPTC digital-source-type AI claims, an optional c2pa.ai-disclosure assertion for EU AI Act Article 50 (applicable 2…

indranilbanerjee/digital-marketing-pro · 183 tokens

ad-creative

Generate 3-5 ad copy variations per platform — headlines, descriptions, and CTAs formatted to Google, Meta, LinkedIn, TikTok, X, and Pinterest specs — each scored 1-10 with policy-compliance flags, A/B testing groupings, and a message-match check against the landing page. Triggers on…

indranilbanerjee/digital-marketing-pro · 162 tokens

citedy-content-writer

From topic to published blog post in one conversation — generate SEO- and GEO-optimized articles with AI illustrations and voice-over in 55 languages, create social media adaptations for 9 platforms, set up automated content sessions, and manage product knowledge base. End-to-end blog autopilot. Powered by Citedy.

citedy/adclaw · 70 tokens

p5js

Use when users request: p5.js sketches, creative coding, generative art, interactive visualizations, canvas animations, browser-based visual art, data viz, shader effects, or any p5.js project.

NousResearch/hermes-agent · 20 tokens

audiocraft-audio-generation

AudioCraft: MusicGen text-to-music, AudioGen text-to-sound.

NousResearch/hermes-agent · 25 tokens

ascii-video

ASCII video: convert video/audio to colored ASCII MP4/GIF.

NousResearch/hermes-agent · 17 tokens