plog

plog is a skill for Claude Code from shrimaanshreyash/Promptlog. It costs 64 tokens per session (958 once invoked), scanned A, original, MIT.

A project tool for recording, reviewing, and auditing the text instructions sent to language models. It also manages notes, history, exports, and changes to those instructions.

In plain words
What is it for?
Use it to initialize prompt tracking, scan prompt-related code, compare or annotate changes, export history, and manage prompt records.
Why use it?
It helps you see how prompt changes affect a project and find problems in prompt-related code. It keeps prompt history in the project instead of requiring a separate global installation.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the plog plugin — 1 skill shipped together

Good fit Use it to initialize prompt tracking, scan prompt-related code, compare or annotate changes, export history, and manage prompt records.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add shrimaanshreyash/Promptlog
Claude Code
/plugin install plog

Made for: Claude Code.

Or install plog, the plugin that ships this one along with the rest of its 1 skill.

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 plog

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/shrimaanshreyash/promptlog/plog"><img src="https://agentmods.dev/badge/skills/shrimaanshreyash/promptlog/plog.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 64 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 958 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
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.00064 $0.00958
Opus 5 $0.00032 $0.00479
Sonnet 5 $0.00013 $0.00192
Haiku 4.5 $0.00006 $0.00096

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

Security

Grade A, and why

plog scanned grade A with 1 finding 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 10d 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.

Asks the agent to reveal its instructionslowSystem prompt leakage

Directions to print, repeat or translate the system prompt extract configuration the operator did not intend to expose.

8. Report four concise groups: tracked, missed, uncertain, and excluded false positives. For each missed or uncertain item, provide source file, exact line range, symbol or purpose, and reasoning. Do not print full promp

Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.

skills/plog/SKILL.md · 55 lines

How it starts

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

PromptLog

Run PromptLog from this plugin package. The user does not need a global plog installation.

CLI runner

Use this exact runner for every CLI operation, preserving the current project as the working directory:

node "${CLAUDE_PLUGIN_ROOT}/dist/index.js"

Never substitute a global plog command and never install PromptLog from inside this skill. If the runner fails because Node is older than 22.13, report the detected Node version and the minimum requirement.

Arguments: $ARGUMENTS

Route the request

  • No arguments: run status when .promptlog/config.json exists; otherwise run init, followed by the semantic audit below.
  • init: run init, then perform the semantic audit when intelligence.mode is host-agent.
  • scan: run scan --json, then perform the semantic audit when intelligence.mode is host-agent.
  • audit: ensure the project is initialized, then perform only the semantic audit.
  • watch: start the bundled watch command as a background process. Report how to stop it.
  • ui: start the bundled ui command as a background process and report the localhost URL. Do not expose it on 0.0.0.0 unless the user explicitly requests that.
  • Any other PromptLog subcommand: pass the arguments to the bundled runner unchanged. Supported commands include status, inventory, diff, note, notes, note-delete, export, rollback, add, ignore, unignore, and config.
  • A plain-language phrase: map it to the closest action, state the action selected, and continue.

Do not leave foreground watch or ui processes blocking the session.

Semantic audit

The deterministic scanner is the first pass. This audit is an independent, repository-aware second pass designed to find prompt surfaces that naming and syntax heuristics can miss.

  1. Read .promptlog/config.json. Respect scanner.include, scanner.exclude, and intelligence settings. If intelligence.mode is none, skip this audit and say so.
  2. Run inventory --json. This inventory intentionally contains locations and hashes but not prompt text.
  3. Locate actual model invocation boundaries in the included source: provider SDK calls, agent/framework constructors, message arrays, prompt templates, completion/chat/generation calls, and project-specific model wrappers.
  4. Trace prompt-bearing arguments backward through helpers, imports, object properties, arrays, joins, template functions, and configuration. Also inspect instruction files that are loaded into an agent or model at runtime.
  5. Treat a value as a prompt when its text or assembled result is supplied to a model as instructions, system/user/assistant content, a template, examples, tool guidance, evaluation criteria, or agent policy.
  6. Exclude UI copy, logs, ordinary documentation, tests/fixtures, generated output, dependencies, and historical .promptlog data unless the application actually sends that content to a model at runtime.
  7. Compare every confirmed prompt surface with the inventory by normalized source path and overlapping line range. Do not call something missed merely because its stable name differs.
  8. Report four concise groups: tracked, missed, uncertain, and excluded false positives. For each missed or uncertain item, provide source file, exact line range, symbol or purpose, and reasoning. Do not print full prompt content when sendFullPromptByDefault is false.
  9. Never register a missed prompt silently. When requireUserConfirmation is true, present the proposed add operations and wait for explicit approval. After approval, run one bundled add <file> --start <n> --end <n> --name <stable-name> operation per accepted item, then rerun inventory --json and summarize the result.

Read the full file on GitHub · 55 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. 10d ago First seen · 55 lines · 64 tokens per session scan A 03337128f38d

Subscribe to this mod's changes

plog is a skill published in the GitHub repository shrimaanshreyash/Promptlog (2 stars, last pushed 2mo ago), licensed MIT. It adds 64 tokens to every session and 958 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 1 finding (asks the agent to reveal its instructions). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories