Automatically fills content placeholders by analyzing surrounding text and referenced external files.

Install

mkdir -p .claude/skills/ph && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/10960" && unzip -o skill.zip -d .claude/skills/ph && rm skill.zip

Installs to .claude/skills/ph

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

Fill a placeholder — infer the best content from surrounding context.
69 charsno explicit “when” trigger
Beginner

Key capabilities

  • →Infers content for placeholder tags
  • →Analyzes surrounding context for generation
  • →Resolves external resource references
  • →Supports scope modifiers for precise filling

How it works

It reads the surrounding text and any referenced resources to generate content that fits naturally into the specified placeholder position.

Inputs & outputs

You give it
Placeholder tag and context
You get back
Generated content

When to use ph

  • →Generating transition sentences
  • →Filling documentation stubs
  • →Updating code placeholders with context-aware content

About this skill

Placeholder

Activation Boundary

This is a tag-only worker skill. Use it only after execute or execute-one selects an exact <@ph...> annotation in a target document and hands off its context. Never activate it from ordinary chat, semantic similarity, or any skill other than those two routers. Without that handoff, produce no placeholder and direct the user to add the tag and run a router.

Generate content that fits naturally at the tag position and replace only the tag with it.

Tag

<@ph>
<@ph: hint about what to fill>

Example: We evaluated <@ph: the number of participants> participants.

Input

  • File path — the document being processed.
  • Surrounding block — the maximal run of non-blank lines containing the tag; blank lines bound it.
  • Prompt (optional) — a hint (for example "a transition sentence"). Default: infer from context.

Workflow

  1. Read the text before and after the tag; read the full file if broader context helps.
  2. Generate content that fits naturally at that exact position in tone, style, and meaning.
  3. Write the result back: replace ONLY the <@ph> tag with the generated text. All surrounding text stays untouched.

Scope Modifiers

<@ph> never modifies surrounding content, so modifiers mainly provide context:

  • Protect << >> — context only; never modify. This skill does not remove protect delimiters outside its own insertion.
  • Field (( )) — when the tag sits inside a field, generate content that belongs in that field.

Context References

Double-backtick references in the prompt point to resources that inform the generated content (for example <@ph: a summary based on ``results.md``>). Resolve paths relative to the document's directory unless absolute.

Rules

  • The output must read as if it had always been part of the text; keep it concise and contextually appropriate.
  • Replace only the selected annotation. Preserve every unrelated annotation, <@comment: ...> tag, <@chat-model> block, and contextual literal/example byte-for-byte.
  • On any error (for example an unreadable referenced file), fail cleanly: leave the tag, change nothing, report.

When not to use it

  • →When the placeholder lacks sufficient surrounding context
  • →When the user wants to manually define the content

Limitations

  • →Depends on context quality
  • →Requires removal of tags and modifiers

How it compares

It uses context-aware inference to fill placeholders rather than simple template substitution.

Compared to similar skills

ph side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
ph (this skill)06moNo flagsBeginner
docs-write227moNo flagsBeginner
content-research-writer1511moNo flagsBeginner
doc-coauthoring1610moNo flagsBeginner

Try saying

Example prompts that trigger this skill in your AI assistant.

You might also like

docs-write

metabase

Write documentation following Metabase's conversational, clear, and user-focused style. Use when creating or editing documentation files (markdown, MDX, etc.).

22139

content-research-writer

ComposioHQ

Assists in writing high-quality content by conducting research, adding citations, improving hooks, iterating on outlines, and providing real-time feedback on each section. Transforms your writing process from solo effort to collaborative partnership.

15111

doc-coauthoring

anthropics

Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision docs, or similar structured content. This workflow helps users efficiently transfer context, refine content through iteration, and verify the doc works for readers. Trigger when user mentions writing docs, creating proposals, drafting specs, or similar documentation tasks.

1686

research-grants

davila7

Write competitive research proposals for NSF, NIH, DOE, and DARPA. Agency-specific formatting, review criteria, budget preparation, broader impacts, significance statements, innovation narratives, and compliance with submission requirements.

694

teams-channel-post-writer

daymade

Creates educational Teams channel posts for internal knowledge sharing about Claude Code features, tools, and best practices. Applies when writing posts, announcements, or documentation to teach colleagues effective Claude Code usage, announce new features, share productivity tips, or document lessons learned. Provides templates, writing guidelines, and structured approaches emphasizing concrete examples, underlying principles, and connections to best practices like context engineering. Activates for content involving Teams posts, channel announcements, feature documentation, or tip sharing.

591

write-docs

tldraw

Writing SDK documentation for tldraw. Use when creating new documentation articles, updating existing docs, or when documentation writing guidance is needed. Applies to docs in apps/docs/content/.

665

Search skills

Search the agent skills registry