platform-profiles

platform-profiles is a skill for Claude Code, Codex from littlebearapps/pitchdocs. It costs 53 tokens per session (591 once invoked), scanned A, original, MIT.

A reference guide for adapting repository documentation to GitLab and Bitbucket instead of GitHub. It covers file locations, badges, Markdown features, CI/CD, and command-line tools.

In plain words
What is it for?
Load it when writing documentation for a GitLab or Bitbucket repository, or for documents that must work across hosting platforms.
Why use it?
Documentation written with GitHub conventions may use paths or formatting that other hosting sites do not support.

Skill for Claude CodeCodex

Part of the pitchdocs plugin — 16 skills, 15 commands, 4 agents shipped together

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.

agentmods
npx agentmods add skills/littlebearapps/pitchdocs/platform-profiles
Any agent
npx skills add littlebearapps/pitchdocs --skill platform-profiles
Clone the repo
git clone --depth 1 https://github.com/littlebearapps/pitchdocs

Made for: Claude Code, Codex.

Or install pitchdocs, the plugin that ships this one along with the rest of its 16 skills, 15 commands, 4 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 platform-profiles

README.md
[![agentmods](https://agentmods.dev/badge/skills/littlebearapps/pitchdocs/platform-profiles.svg)](https://agentmods.dev/skills/littlebearapps/pitchdocs/platform-profiles)
Your own site
<a href="https://agentmods.dev/skills/littlebearapps/pitchdocs/platform-profiles"><img src="https://agentmods.dev/badge/skills/littlebearapps/pitchdocs/platform-profiles.svg" alt="Measured on agentmods" height="20"></a>
Per session 53 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 591 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00053 $0.00591
Opus 5 $0.00026 $0.00296
Sonnet 5 $0.00011 $0.00118
Haiku 4.5 $0.00005 $0.00059

Measured 4d ago against content hash 56844bd18e40, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

platform-profiles 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 4d 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.

.claude/skills/platform-profiles/SKILL.md · 42 lines

What it actually says

Platform Profiles

PitchDocs defaults to GitHub conventions. Load this skill when the target repository is hosted on GitLab or Bitbucket, or when generating docs that must work across platforms.

Platform Detection

[ -f ".gitlab-ci.yml" ] && PLATFORM="gitlab"
[ -f "bitbucket-pipelines.yml" ] && PLATFORM="bitbucket"
[ -d ".github" ] && PLATFORM="github"
PLATFORM=${PLATFORM:-$(git remote get-url origin 2>/dev/null | grep -oE '(github|gitlab|bitbucket)' | head -1)}

Markdown Rendering Compatibility

Feature GitHub GitLab Bitbucket
> [!NOTE] callouts Yes Yes No — use **Note:** bold inline
<p align="center"> Yes Yes Limited
<picture> dark mode Yes Yes No — use single high-contrast image
<details>/<summary> Yes Yes Limited
Mermaid diagrams Yes Yes (+ PlantUML) No — use pre-rendered SVG
Task lists - [ ] Yes Yes No — renders as plain text
Auto TOC No (manual) [[_TOC_]] No (manual)
Heading anchor format #slug-format #slug-format #markdown-header-slug-format
Nested list indentation 2 spaces 2 spaces 4 spaces
HTML permissiveness Moderate (strips style) More permissive Restrictive

Quick Reference

  • GitLab: Encode / as %2F in shields.io paths. Self-hosted instances need ?gitlab_url= parameter.
  • Bitbucket: No <picture>, no Mermaid, no task lists, use 4-space nested indentation, prefix heading anchors with markdown-header-.
  • MCP tools: mcp__github__* are GitHub-specific. For GitLab/Bitbucket, use glab CLI, REST API, or git history.

For full lookup tables (template directory mapping, badge URLs, CLI tools, CI/CD, feature availability, raw file URLs, compare URLs, Bitbucket degradation), load SKILL-tables.md from this skill directory.

Files

What ships with it

1 file 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. 4d ago First seen · 42 lines · 53 tokens per session scan A 56844bd18e40

Subscribe to this mod's changes

platform-profiles is a skill published in the GitHub repository littlebearapps/pitchdocs (8 stars, last pushed 3mo ago), licensed MIT. It adds 53 tokens to every session and 591 once invoked, about $0.0003 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-08-31.