manage-headers

manage-headers is a skill for Claude Code from microsoft/power-platform-skills. It costs 118 tokens per session (2,711 once invoked), scanned A, original, MIT.

A tool for inspecting and configuring the HTTP security headers that a Power Pages site sends to browsers. These headers control protections such as content rules, clickjacking, cross-origin access, and cookie behaviour.

In plain words
What is it for?
Use it to review or configure Content Security Policy, frame protection, cross-origin sharing, cookie settings, and related headers.
Why use it?
It helps identify missing or incorrect browser protections and guides you through changing the site's settings.

Skill for Claude Code ✓ vendor

Written for Claude Code: allowed-tools in frontmatter. Also seen: model in frontmatter; names the AskUserQuestion tool.

Part of the power-pages plugin — 36 skills, 5 agents shipped together

Good fit Use it to review or configure Content Security Policy, frame protection, cross-origin sharing, cookie settings, and related headers.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/microsoft/power-platform-skills/manage-headers
About the project

microsoft/power-platform-skills is a plugin marketplace containing reusable skills, agents, and commands for developing with Microsoft Power Platform. Developers use it to build and deploy Power Pages sites, model-driven Power Apps, and related solutions through Claude Code or GitHub Copilot. The catalogue entries are the marketplace's included skills, agents, plugins, and other agent components.

microsoft/power-platform-skills · 1,210 stars · on GitHub · microsoft.github.io

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 microsoft/power-platform-skills --skill manage-headers
Clone the repo
git clone --depth 1 https://github.com/microsoft/power-platform-skills

Made for: Claude Code.

Or install power-pages, the plugin that ships this one along with the rest of its 36 skills, 5 agents.

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 manage-headers

README.md
[![agentmods](https://agentmods.dev/badge/skills/microsoft/power-platform-skills/manage-headers/github.svg)](https://agentmods.dev/skills/microsoft/power-platform-skills/manage-headers)
Your own site
<a href="https://agentmods.dev/skills/microsoft/power-platform-skills/manage-headers"><img src="https://agentmods.dev/badge/skills/microsoft/power-platform-skills/manage-headers/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 manage-headers

Your own site · 80×15
<a href="https://agentmods.dev/skills/microsoft/power-platform-skills/manage-headers"><img src="https://agentmods.dev/badge/skills/microsoft/power-platform-skills/manage-headers.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 118 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,711 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 warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Excessive Agency · line 15
    Skill selects an external model or provider that may use a different account or billing plan than the operator expects. Undisclosed model switches can cause unexpected cost or quota consumption.
    Fix: Remove the model/provider override or disclose it prominently and require explicit operator approval before invoking an external coding CLI or billed model.
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.00118 $0.02711
Opus 5.5 $0.00047 $0.01084
Sonnet 5.5 $0.00024 $0.00542
Haiku 4.5 $0.00012 $0.00271

Measured 3mo ago against content hash 38d1cebd6184, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

manage-headers 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 3mo ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/transform-headers.js), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

plugins/power-pages/skills/manage-headers/SKILL.md · 218 lines

How it starts

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

Plugin check: Run node "${PLUGIN_ROOT}/scripts/check-version.js" — if it outputs a message, show it to the user before proceeding.

Manage Headers

Inspect and configure the HTTP security headers for a Power Pages site. Headers are configured as HTTP/* site settings stored in .powerpages-site/site-settings/ YAML files.

Initial request: $ARGUMENTS

Gotchas

  • Site settings are YAML files. Each header is a separate .yml file in .powerpages-site/site-settings/. The file name uses - instead of / (e.g., HTTP/X-Frame-Options → http-x-frame-options.sitesetting.yml).
  • Absent = no header. When a site setting is absent, the runtime omits that header entirely (except CSP on new sites — see headers-reference.md).
  • HSTS and Cache-Control are platform-managed. Do not try to set HTTP/Strict-Transport-Security — the runtime does not recognize it and the setting has no effect.
  • Maker-mode bypasses headers. Requests from Power Pages Studio skip all HTTP/* header emission. Verify headers in an incognito tab, not the studio preview.
  • CSP is pass-through. The runtime emits the value verbatim — it does NOT merge runtime sources automatically. The CSP MUST include Power Pages runtime hosts or the site breaks.
  • CSP nonce. When script-src contains 'nonce', the runtime replaces it per-request with 'nonce-<random>' and auto-hashes inline event handlers. Scripts created dynamically via document.createElement do NOT receive the nonce.
  • SameSite=None requires HTTPS. The runtime sets Secure on every cookie over HTTPS automatically.
  • CORS * is auto-specialized. The runtime replaces * per-request with the specific requesting Origin — the browser sees a single-origin header, not a wildcard.

Workflow

  1. Prerequisites — Locate project, confirm site-settings directory exists
  2. Inspect current headers — Read site-setting YAML files, identify configured and missing headers
  3. Assess and plan — Identify gaps, present recommendations
  4. Apply changes — Edit existing settings or create new ones
  5. Summarize — Present results, record usage, offer follow-ups

Read the full file on GitHub · 218 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 3mo ago First seen · 218 lines · 118 tokens per session scan A 38d1cebd6184

Subscribe to this mod's changes

manage-headers is a skill published in the GitHub repository microsoft/power-platform-skills (1,210 stars, last pushed today), licensed MIT. It adds 118 tokens to every session and 2,711 once invoked, about $0.0005 per session on Opus 5.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

manage-headers compared with skills from other repositories

manage-headers next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
manage-headersmicrosoft/power-platform-skillsSkill1.2ktodayMITA118Claude Code
canvas-apps-ui-genToluVictor/canvas-apps-toolsSkill1527mo agoMITA71Claude Code
ux-heuristicswondelai/skillsSkill2.9k3d agoMITA122Claude Code, Codex
blue-ocean-strategywondelai/skillsSkill2.9k3d agoMITA152Claude Code
clean-codewondelai/skillsSkill2.9k3d agoMITA126Claude Code
session-scanoliver-kriska/claude-elixir-phoenixSkill5803d agoMITB36Claude Code
prices-and-plansfirecrawl/firecrawl-claude-pluginSkill276yesterdayMITA118Claude Code