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.
/plugin marketplace add kanfu-panda/pdlc-skills/plugin install pdlcWrote 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.
[](https://agentmods.dev/skills/kanfu-panda/pdlc-skills/pdlc-settings)<a href="https://agentmods.dev/skills/kanfu-panda/pdlc-skills/pdlc-settings"><img src="https://agentmods.dev/badge/skills/kanfu-panda/pdlc-skills/pdlc-settings/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.
<a href="https://agentmods.dev/skills/kanfu-panda/pdlc-skills/pdlc-settings"><img src="https://agentmods.dev/badge/skills/kanfu-panda/pdlc-skills/pdlc-settings.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00028 | $0.02059 |
| Opus 5 | $0.00014 | $0.01030 |
| Sonnet 5 | $0.00006 | $0.00412 |
| Haiku 4.5 | $0.00003 | $0.00206 |
Grade B, and why
pdlc-settings scanned grade B 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 12d 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.
Reads agent configuration directoriesmediumAgent snooping
.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.
> ⚠️ **安全底线**:本命令会读写用户全局 `~/.claude/settings.json`(高影响)。**任何写入前必须**: How it starts
The opening of the file, as written. The whole thing — 122 lines — stays where its author put it; the contents beside it link to each section on GitHub.
PDLC 交互式设置
以交互菜单方式配置 PDLC,让用户少敲命令行。当前只含「状态栏(statusline)」一节—— 把 PDLC 运行状态(当前功能 / 阶段 / 下一步 / 检查 / blocked)显示到 Claude Code 底部状态栏。 未来若有更多设置可能并入本命令(非本版承诺)。
⚠️ 安全底线:本命令会读写用户全局
~/.claude/settings.json(高影响)。任何写入前必须: 先备份 → 展示 diff → 用户确认。写全局配置可能被 Claude Code 安全层拦截——届时不谎报成功, 优雅降级为「已算好这一行,请你确认后手动粘贴」。重复运行幂等,绝不覆盖用户其它配置。
交互入口
根据 $ARGUMENTS 分派;为空则显示主菜单:
⚙️ PDLC 设置
1) 状态栏 · 启用 在状态栏独占一行显示 PDLC 状态
2) 状态栏 · 停用 从状态栏移除本段(不动你其它配置)
3) 状态栏 · 展示项 勾选显示哪些内容(进度条/检查/停留时长…)
4) 状态栏 · 状态 查看当前是否已接线 + 生效配置 + 预览
请选择(1-4):
$ARGUMENTS含status→ 直接走「状态栏 · 状态」$ARGUMENTS含statusline→ 进入状态栏子菜单- 否则显示上面主菜单,等用户选
定位脚本(稳定源优先)
接线依赖状态栏脚本 bin/pdlc-statusline.sh。按以下顺序找第一个存在的副本作为符号链接源,
优先稳定源(升级不改路径):
~/.claude/plugins/marketplaces/pdlc-skills/bin/pdlc-statusline.sh(marketplace 克隆,最稳)${CLAUDE_PLUGIN_ROOT}/bin/pdlc-statusline.sh(当前插件根,若该环境变量存在)- 最新版本缓存:
ls -td ~/.claude/plugins/cache/pdlc-skills/pdlc/*/bin/pdlc-statusline.sh | head -1
用 Bash 依次探测,记下命中的路径记为 $SL。都找不到 → 提示用户先 claude plugin install pdlc@pdlc-skills 再来。
动作一:状态栏 · 启用
- 建稳定链接:
bash "$SL" --install- 它在固定路径
~/.claude/pdlc-statusline建符号链接指向$SL(升级后重跑本命令即重指,用户侧命令不变)。
- 它在固定路径
- 读现有状态栏命令:读
~/.claude/settings.json(不存在则视为{})。取.statusLine.command(可能为空)。 - 幂等计算新命令:
- 若现有命令已包含
pdlc-statusline(任意形式)→ 告知「已接线,无需重复」,转去「展示项」或结束。 - 否则新命令 =
<现有命令>; ~/.claude/pdlc-statusline(现有为空则新命令就是~/.claude/pdlc-statusline)。 - 若
.statusLine不存在,需同时补"statusLine": { "type": "command", "command": "<新命令>" }。
- 若现有命令已包含
- 备份 + 展示 diff:把
~/.claude/settings.json复制为~/.claude/settings.json.pdlc-bak(已存在则加时间戳后缀)。 向用户展示将要变更的那一行 diff(旧 command → 新 command)。 - 确认后写入:用户确认 → 用 Edit/Write 写回
settings.json(保持其余字段与格式不变)。 - 写入被拦截 / 失败时优雅降级(关键):
- 不谎报已启用。明确告知:「写全局 settings.json 被安全层拦截。已备份到
<bak>。 请把~/.claude/settings.json的statusLine.command手动改为:」,并给出完整新命令原文一行,供用户复制粘贴。
- 不谎报已启用。明确告知:「写全局 settings.json 被安全层拦截。已备份到
- 预览:调用一次脚本渲染当前项目状态给用户看:
printf '{"workspace":{"current_dir":"%s"}}' "$PWD" | bash "$SL"(当前项目非 PDLC / 无状态文件则为空,属正常。) - 提示:状态栏是每个终端会话/刷新生效,可能需重开会话或等下次刷新。
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.
- 12d ago First seen · 122 lines · 28 tokens per session scan B 8305daa36b5f
pdlc-settings is a skill published in the GitHub repository kanfu-panda/pdlc-skills (13 stars, last pushed today), licensed MIT. It adds 28 tokens to every session and 2,059 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it B with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other skills, from other repositories
postgres-database-migration
Use this skill for planning, testing, and safely executing PostgreSQL schema migrations — especially when working with production data or shared databases. Trigger when user asks to: Test a schema migration before applying it to production Add, remove, or rename columns safely on a live table Change a column's data…
setup-timescaledb-hypertables
Use this skill when creating database schemas or tables for Timescale, TimescaleDB, TigerData, or Tiger Cloud, especially for time-series, IoT, metrics, events, or log data. Use this to improve the performance of any insert-heavy table. Trigger when user asks to: Create or design SQL schemas/tables AND…
design-postgis-tables
Comprehensive PostGIS spatial table design reference covering geometry types, coordinate systems, spatial indexing, and performance patterns for location-based applications.
migrate-postgres-tables-to-hypertables
Use this skill to migrate identified PostgreSQL tables to Timescale/TimescaleDB hypertables with optimal configuration and validation. Trigger when user asks to: Migrate or convert PostgreSQL tables to hypertables Execute hypertable migration with minimal downtime Plan blue-green migration for large tables Validate…
pgvector-semantic-search
Use this skill for setting up vector similarity search with pgvector for AI/ML embeddings, RAG applications, or semantic search. Trigger when user asks to: Store or search vector embeddings in PostgreSQL Set up semantic search, similarity search, or nearest neighbor search Create HNSW or IVFFlat indexes for vectors…
find-hypertable-candidates
Use this skill to analyze an existing PostgreSQL database and identify which tables should be converted to Timescale/TimescaleDB hypertables. Trigger when user asks to: Analyze database tables for hypertable conversion potential Identify time-series or event tables in an existing schema Evaluate if a table would…