Text to PNG Card Caster
lijigang/ljg-skills
Turns text, URLs or local files into tall PNG cards through HTML typography, with four modes: long reading card, full-text layout, comic and whiteboard.
Generate shareable PNG report cards of your Claude Code carbon footprint
$ npx skills add gwittebolle/claude-carbon --skill carbon-card -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install gwittebolle/claude-carbon carbon-card --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/gwittebolle/claude-carbon.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/carbon-card .claude/skills/carbon-card && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "carbon-card" agent skill from https://github.com/gwittebolle/claude-carbon/tree/main/skills/carbon-card into .claude/skills/carbon-card/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "carbon-card", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/gwittebolle/claude-carbon/tree/main/skills/carbon-cardType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add gwittebolle/claude-carbon --skill carbon-card -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install gwittebolle/claude-carbon carbon-card --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/gwittebolle/claude-carbon.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/carbon-card .agents/skills/carbon-card && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "carbon-card" agent skill from https://github.com/gwittebolle/claude-carbon/tree/main/skills/carbon-card into .agents/skills/carbon-card/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "carbon-card", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add gwittebolle/claude-carbon --skill carbon-card -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install gwittebolle/claude-carbon carbon-card --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/gwittebolle/claude-carbon.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/carbon-card .cursor/skills/carbon-card && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "carbon-card" agent skill from https://github.com/gwittebolle/claude-carbon/tree/main/skills/carbon-card into .cursor/skills/carbon-card/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "carbon-card", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/gwittebolle/claude-carbon.git --path skills/carbon-card--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add gwittebolle/claude-carbon --skill carbon-card -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install gwittebolle/claude-carbon carbon-card --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/gwittebolle/claude-carbon.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/carbon-card .gemini/skills/carbon-card && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "carbon-card" agent skill from https://github.com/gwittebolle/claude-carbon/tree/main/skills/carbon-card into .gemini/skills/carbon-card/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "carbon-card", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install gwittebolle/claude-carbon carbon-cardInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add gwittebolle/claude-carbon --skill carbon-card -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/gwittebolle/claude-carbon.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/carbon-card .github/skills/carbon-card && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "carbon-card" agent skill from https://github.com/gwittebolle/claude-carbon/tree/main/skills/carbon-card into .github/skills/carbon-card/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "carbon-card", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add gwittebolle/claude-carbon --skill carbon-card -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install gwittebolle/claude-carbon carbon-card --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/gwittebolle/claude-carbon.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/carbon-card .opencode/skills/carbon-card && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "carbon-card" agent skill from https://github.com/gwittebolle/claude-carbon/tree/main/skills/carbon-card into .opencode/skills/carbon-card/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "carbon-card", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
carbon-cardGenerate shareable PNG report cards of your Claude Code carbon footprint
Carbon Card is an agent skill from gwittebolle/claude-carbon. Generate shareable PNG report cards of your Claude Code carbon footprint
Its SKILL.md is about 970 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
The repository describes itself as: claude-carbon: track the carbon footprint of your Claude Code sessions. The licence is MIT.
Read from SKILL.md and the folder at commit d7313ff. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
jqbashFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Carbon Card loads about 967 tokens when it runs. Until then it costs about 21 tokens; SKILL.md has 286 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from gwittebolle/claude-carbon at commit d7313ff, republished under its MIT licence (© gwittebolle). 286 words, ~967 tokens.
.claude/skills/carbon-card/SKILL.md (or your agent's skills folder).Run the following bash script and present the output to the user. Show the exported file paths so they can share the PNGs, and tell them the folder has been opened in their file manager.
#!/usr/bin/env bash
# Locate the install wired into the status line (honours CLAUDE_CONFIG_DIR),
# then fall back to CLAUDE_PLUGIN_ROOT / CLAUDE_CARBON_DIR / the default path.
# Windows (Git Bash): CLAUDE_* variables and the paths stored in settings.json can
# arrive in the native "C:\Users\..." spelling, which bash cannot open. cygpath
# ships with Git for Windows; everywhere else this is the identity function.
ccp() {
case "${OSTYPE:-}" in msys*|cygwin*) ;; *) printf '%s' "$1"; return 0 ;; esac
case "$1" in
[A-Za-z]:[\\/]*|*\\*) cygpath -u "$1" 2>/dev/null || printf '%s' "$1" ;;
*) printf '%s' "$1" ;;
esac
}
CFG="$(ccp "${CLAUDE_CONFIG_DIR:-$HOME/.claude}")"
REPO_DIR=""
if command -v jq >/dev/null 2>&1 && [ -f "$CFG/settings.json" ]; then
SL_CMD="$(jq -r '.statusLine.command // empty' "$CFG/settings.json" 2>/dev/null)"
# statusLine.command stores a shell-escaped path: expand ~ and unescape spaces
SL_CMD="${SL_CMD//\\ / }"; SL_CMD="${SL_CMD/#\~/$HOME}"; SL_CMD="$(ccp "$SL_CMD")"
[ -n "$SL_CMD" ] && [ -f "$SL_CMD" ] && REPO_DIR="$(cd "$(dirname "$SL_CMD")/.." 2>/dev/null && pwd)"
fi
[ -z "$REPO_DIR" ] && [ -n "${CLAUDE_PLUGIN_ROOT:-}" ] && REPO_DIR="$(ccp "$CLAUDE_PLUGIN_ROOT")"
[ -z "$REPO_DIR" ] && [ -n "${CLAUDE_CARBON_DIR:-}" ] && REPO_DIR="$(ccp "$CLAUDE_CARBON_DIR")"
if [ -z "$REPO_DIR" ]; then
# Pure marketplace installs reach here: no statusLine.command in settings.json and
# no CLAUDE_PLUGIN_ROOT in a skill's bash env. Pick the newest cached plugin copy,
# the same scan as statusline.sh CACHE_LATEST.
CACHE_LATEST=""
for D in "$CFG/plugins/cache"/*/claude-carbon/*/; do
[ -f "${D}scripts/generate-report.sh" ] || continue
if [ -z "$CACHE_LATEST" ] || [ "$(printf '%s\n%s\n' "$CACHE_LATEST" "$D" | sort -V | tail -1)" = "$D" ]; then
CACHE_LATEST="$D"
fi
done
[ -n "$CACHE_LATEST" ] && REPO_DIR="${CACHE_LATEST%/}"
fi
[ -z "$REPO_DIR" ] && REPO_DIR="$HOME/code/claude-carbon"
bash "$REPO_DIR/scripts/generate-report.sh"The script prints the export directory on its final line (Done. <dir>/) and a Totals since ... line just above it. The directory is the user's Downloads folder (~/Downloads/claude-carbon/, or CLAUDE_CARBON_EXPORT_DIR when set), and the script has already opened it in the file manager: Finder with the summary card selected on macOS, Explorer on Windows, the default file manager on Linux (skipped when CLAUDE_CARBON_NO_OPEN is set or no display is available). Show the export path exactly as printed, it is already in the platform's native spelling, and say the folder should now be open in front of them.
Then offer a ready-to-paste social post draft (LinkedIn or X) built ONLY from the numbers on the Totals since ... line: CO2e total, cost, the car-km equivalence, session count. The car figure on that line follows the detected locale (ADEME km on a French or undetected locale, EPA miles on a US one, world-average km otherwise) and matches the EN card; the FR card always shows the ADEME figure. The line names its factor in the parenthesis after "by car". Quote the line as printed, unit and factor included, rather than recomputing it. Write it in the user's working language. Keep the register strictly factual: numbers and equivalences, no self-congratulation, no green-virtue framing, no hashtag pile (two at most). Do not add a credit line for the tool in the draft; the card's footer already carries the repo and tokenclimate.com attribution. If the user asks for changes, iterate on the draft, never on the numbers.
© gwittebolle, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in skills/carbon-card of gwittebolle/claude-carbon.
Open the folder on GitHubat commit d7313ff
Carbon Card next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Carbon Card this skillgwittebolle/claude-carbon | 211 | — | ~967 | Automated safety check: Pass | MIT | |
| Text to PNG Card Casterlijigang/ljg-skills | 7.5k | — | ~1.9k | Automated safety check: Pass | MIT | |
| Card Xiaohongshunexu-io/open-design | 100k | — | ~402 | Automated safety check: Pass | Apache-2.0 | |
| Token Cardaffaan-m/ECC | 276k | — | ~1.3k | Automated safety check: Pass | MIT | |
| Social X Post Cardnexu-io/open-design | 100k | — | ~696 | Automated safety check: Pass | Apache-2.0 | |
| Orbit Cardheygen-com/hyperframes | 60k | 1 repos | ~887 | Automated safety check: Pass | Apache-2.0 |
lijigang/ljg-skills
Turns text, URLs or local files into tall PNG cards through HTML typography, with four modes: long reading card, full-text layout, comic and whiteboard.
nexu-io/open-design
Xiaohongshu-style knowledge cards, arranged as a swipeable multi-card carousel.
affaan-m/ECC
Render a token-usage stat card from local Claude Code, Codex, Gemini CLI, and OpenCode session logs and commit it into the repository as a file.
nexu-io/open-design
Realistic X post card with engagement metrics (likes, reposts, views), suited to video overlays or shareable image cards.
heygen-com/hyperframes
HyperFrames block with one feature card that circles a dot sphere, driven by camera and card motion exported from an approved Blender rig.
ComposioHQ/awesome-claude-skills
Automate Carbone tasks via Rube MCP (Composio). An agent skill from ComposioHQ/awesome-claude-skills.
gwittebolle/claude-carbon
Generate a shields.io badge of your Claude Code carbon footprint for your READMEs
gwittebolle/claude-carbon
Post the development footprint of the current branch as a sticky PR comment
gwittebolle/claude-carbon
Display CO2 emissions report for Claude Code sessions. An agent skill from gwittebolle/claude-carbon.
Generate shareable PNG report cards of your Claude Code carbon footprint. Carbon Card is an agent skill from gwittebolle/claude-carbon.
Run `npx skills add gwittebolle/claude-carbon --skill carbon-card -a claude-code`. Or copy the skill folder (skills/carbon-card in gwittebolle/claude-carbon) into .claude/skills/carbon-card in your project. Claude Code loads it when a task matches its description.
Run `npx skills add gwittebolle/claude-carbon --skill carbon-card -a codex`. Or copy the skill folder (skills/carbon-card in gwittebolle/claude-carbon) into .agents/skills/carbon-card in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add gwittebolle/claude-carbon --skill carbon-card -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/carbon-card, .gemini/skills/carbon-card, .github/skills/carbon-card and .opencode/skills/carbon-card in your project.
Going by SKILL.md and its folder, Carbon Card needs the command-line tools its instructions call (jq and bash).
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Carbon Card is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 967 tokens (SKILL.md is roughly 3.9k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Carbon Card: Text to PNG Card Caster (lijigang/ljg-skills, 7.5k stars), Card Xiaohongshu (nexu-io/open-design, 100k stars), Token Card (affaan-m/ECC, 276k stars) and Social X Post Card (nexu-io/open-design, 100k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
gwittebolle (a GitHub user) maintains it in gwittebolle/claude-carbon, which has 211 GitHub stars. The repository holds 4 skills in this directory. The repository was last updated on October 9, 2026.
Source: gwittebolle/claude-carbon on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.