pdlc-settings

pdlc-settings is a skill for Claude Code from kanfu-panda/pdlc-skills. It costs 28 tokens per session (2,059 once invoked), scanned B, original, MIT.

An interactive settings workflow for configuring a PDLC status bar, a line that shows the current feature, stage, next step, checks, or blocked state.

In plain words
What is it for?
Use it to enable or disable the status bar, choose what it displays, and inspect the active configuration and preview.
Why use it?
It makes the project workflow visible in the coding tool without requiring repeated status commands. It protects existing global settings by backing them up and showing changes before writing.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: reads .claude/ paths; mentions Claude Code.

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 pdlc plugin — 38 skills shipped together

Good fit Use it to enable or disable the status bar, choose what it displays, and inspect the active configuration and preview.

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 kanfu-panda/pdlc-skills
Claude Code
/plugin install pdlc

Made for: Claude Code.

Or install pdlc, the plugin that ships this one along with the rest of its 38 skills.

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 pdlc-settings

README.md
[![agentmods](https://agentmods.dev/badge/skills/kanfu-panda/pdlc-skills/pdlc-settings/github.svg)](https://agentmods.dev/skills/kanfu-panda/pdlc-skills/pdlc-settings)
Your own site
<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.

agentmods 80×15 button for pdlc-settings

Your own site · 80×15
<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>
Per session 28 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,059 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 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.00028 $0.02059
Opus 5 $0.00014 $0.01030
Sonnet 5 $0.00006 $0.00412
Haiku 4.5 $0.00003 $0.00206

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

Security

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`(高影响)。**任何写入前必须**:
skills/pdlc-settings/SKILL.md · 122 lines

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):
  • $ARGUMENTSstatus → 直接走「状态栏 · 状态」
  • $ARGUMENTSstatusline → 进入状态栏子菜单
  • 否则显示上面主菜单,等用户选

定位脚本(稳定源优先)

接线依赖状态栏脚本 bin/pdlc-statusline.sh。按以下顺序找第一个存在的副本作为符号链接源, 优先稳定源(升级不改路径):

  1. ~/.claude/plugins/marketplaces/pdlc-skills/bin/pdlc-statusline.sh (marketplace 克隆,最稳)
  2. ${CLAUDE_PLUGIN_ROOT}/bin/pdlc-statusline.sh (当前插件根,若该环境变量存在)
  3. 最新版本缓存:ls -td ~/.claude/plugins/cache/pdlc-skills/pdlc/*/bin/pdlc-statusline.sh | head -1

用 Bash 依次探测,记下命中的路径记为 $SL。都找不到 → 提示用户先 claude plugin install pdlc@pdlc-skills 再来。

动作一:状态栏 · 启用

  1. 建稳定链接bash "$SL" --install
    • 它在固定路径 ~/.claude/pdlc-statusline 建符号链接指向 $SL(升级后重跑本命令即重指,用户侧命令不变)。
  2. 读现有状态栏命令:读 ~/.claude/settings.json(不存在则视为 {})。取 .statusLine.command(可能为空)。
  3. 幂等计算新命令
    • 若现有命令已包含 pdlc-statusline(任意形式)→ 告知「已接线,无需重复」,转去「展示项」或结束。
    • 否则新命令 = <现有命令>; ~/.claude/pdlc-statusline(现有为空则新命令就是 ~/.claude/pdlc-statusline)。
    • .statusLine 不存在,需同时补 "statusLine": { "type": "command", "command": "<新命令>" }
  4. 备份 + 展示 diff:把 ~/.claude/settings.json 复制为 ~/.claude/settings.json.pdlc-bak(已存在则加时间戳后缀)。 向用户展示将要变更的那一行 diff(旧 command → 新 command)。
  5. 确认后写入:用户确认 → 用 Edit/Write 写回 settings.json(保持其余字段与格式不变)。
  6. 写入被拦截 / 失败时优雅降级(关键):
    • 不谎报已启用。明确告知:「写全局 settings.json 被安全层拦截。已备份到 <bak>。 请把 ~/.claude/settings.jsonstatusLine.command 手动改为:」,并给出完整新命令原文一行,供用户复制粘贴。
  7. 预览:调用一次脚本渲染当前项目状态给用户看: printf '{"workspace":{"current_dir":"%s"}}' "$PWD" | bash "$SL" (当前项目非 PDLC / 无状态文件则为空,属正常。)
  8. 提示:状态栏是每个终端会话/刷新生效,可能需重开会话或等下次刷新。

Read the full file on GitHub · 122 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. 12d ago First seen · 122 lines · 28 tokens per session scan B 8305daa36b5f

Subscribe to this mod's changes

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.

Related

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…

timescale/pg-aiguide · 220 tokens

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…

timescale/pg-aiguide · 219 tokens

design-postgis-tables

Comprehensive PostGIS spatial table design reference covering geometry types, coordinate systems, spatial indexing, and performance patterns for location-based applications.

timescale/pg-aiguide · 31 tokens

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…

timescale/pg-aiguide · 181 tokens

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…

timescale/pg-aiguide · 190 tokens

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…

timescale/pg-aiguide · 184 tokens