Token导航 LogoToken导航TokenDH.com
研究检索只读github未标认证来源可访问许可证需确认审计通过

gspdev-prompt-auditgspdev 提示审核

Agent Skill

用于辅助安全审计、权限检查、凭据风险、认证流程和常见漏洞排查。它适合让 Agent 梳理敏感配置、检查依赖风险、分析鉴权逻辑或生成安全复核清单。使用时不能把工具输出直接当最终结论,涉及密钥、令牌、用户数据或生产系统时,应先确认最小权限、脱敏方式和操作边界。

总安装

282

周安装

12

GitHub Stars

29

下载量

99
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:gspdev-prompt-audit(gspdev 提示审核)
来源仓库:https://github.com/jubscodes/get-shit-pretty
仓库路径:skills/gspdev-prompt-audit
安装命令:
npx skills add https://github.com/jubscodes/get-shit-pretty --skill gspdev-prompt-audit
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/jubscodes/get-shit-pretty --skill gspdev-prompt-audit

简介

gspdev-prompt-audit 用于辅助安全审计和权限检查,识别凭据风险和常见漏洞。

  • 适用于梳理敏感配置、分析鉴权逻辑和生成安全复核清单。
  • 通过 npx skills add 命令从 GitHub 仓库安装并使用。
  • 不能将工具输出直接作为结论,涉及生产系统时应先确认最小权限。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

This skill performs semantic analysis that automated tests (P1–P7 in audit-tests.sh) can't catch. It evaluates meaning, not just structure.

Principle: "Your AI setup should be getting simpler over time — addition by subtraction."

Source layout:

  • gsp/skills/*/SKILL.md — 34 skills
  • gsp/agents/gsp-*.md — 15 agents

Step 1: Parse scope

$ARGUMENTS determines what to analyze:

  • all or empty — analyze everything (skills → agents → cross-file)
  • skills — skills only
  • agents — agents only
  • specific name (e.g. gsp-project-designer) — analyze that one file + its paired skill/agent

Step 2: Run automated baseline first

bash dev/scripts/audit-tests.sh prompts

Note the warnings — they provide structural context for the semantic analysis.

Step 3: Per-file semantic analysis

For each file in scope, read it fully and evaluate against these 5 criteria:

3a: Dead weight

Instructions the model already follows without being told. Examples:

  • "Write clean, maintainable code" — Claude does this by default
  • "Be helpful and thorough" — core model behavior
  • "Follow best practices" — too vague to add value
  • "Ensure high quality output" — the model always tries to

Test: Would removing this instruction change the output? If no → dead weight.

3b: Contradictions

Rules that conflict within the same file or between a skill and its spawned agent. Examples:

  • "Be concise" + "Explain every decision in detail"
  • "Use bullet points" + later requiring paragraph-format output
  • Skill says "keep output under 100 lines" but agent says "be thorough and complete"

Test: Can the model satisfy both instructions simultaneously? If not → contradiction.

3c: One-off patches

Rules that read like they were added to fix one specific bad output rather than a general pattern. Signs:

  • Very specific ("don't use the word 'leverage'")
  • Negative framing without positive replacement ("don't do X" without "do Y instead")
  • Oddly specific edge cases that rarely apply

Test: Does this rule improve >50% of outputs, or just prevent one past mistake? If the latter → one-off patch.

3d: Vagueness

Instructions so ambiguous the model would interpret them differently every run. Examples:

  • "Use a natural tone" — natural to whom?
  • "Be creative" — in what dimension?
  • "Make it professional" — what does professional look like here?

Test: If 10 different Claude instances read this instruction, would they all do the same thing? If not → vague.

3e: Repetition

Instructions covered by:

  • Another rule in the same file
  • The spawned agent's own instructions (for skills)
  • A shared reference file already loaded
  • The system prompt already loaded by the agent

Test: Is this instruction the *only* place this guidance exists? If not → repetition.

Step 4: Cross-file analysis

4a: Skill → Agent duplication

For each skill that spawns an agent, compare:

  • The skill's instructions to the agent (context it passes)
  • The agent's own definition (what it already knows)

Flag instructions that appear in both — the agent receives them twice.

4b: Global patterns

Look for instructions that appear across 3+ files with slight variations. These should either be:

  • Consolidated into a shared reference
  • Removed entirely if they're default model behavior

Step 5: Generate report

Write the report to dev/reports/prompt-audit.md with this structure:

# GSP Prompt Audit Report

Generated: {date}
Scope: {scope}
Automated baseline: {P1-P7 summary}

## Executive summary

- Files analyzed: X
- Total issues: Y
- Dead weight: A instances
- Contradictions: B instances
- One-off patches: C instances
- Vague directives: D instances
- Repetition: E instances

## Per-file findings

### {filename} ({lines} lines)

**Dead weight** (X items)
- Line ~N: "{instruction}" — {reason this is dead weight}

**Contradictions** (X items)
- "{instruction A}" contradicts "{instruction B}" — {explanation}

**One-off patches** (X items)
- Line ~N: "{instruction}" — {why this looks like a one-off fix}

**Vague directives** (X items)
- Line ~N: "{instruction}" — {why this is too vague to act on}

**Repetition** (X items)
- Line ~N: "{instruction}" — also in {other file(s)}

**Recommendation:** {cut X lines, rewrite Y lines, net reduction: Z lines}

---

{repeat for each file}

## Cross-file findings

### Skill → Agent duplication
{list of duplicated instructions between skill/agent pairs}

### Global patterns
{instructions repeated across 3+ files}

## Summary

| File | Lines | Dead | Contradict | One-off | Vague | Repeat | Cut |
|------|-------|------|-----------|---------|-------|--------|-----|
| ... | ... | ... | ... | ... | ... | ... | ... |

**Total potential reduction: X lines ({Y}% of corpus)**

Step 6: Prioritize

After the report, highlight the top 5 highest-impact changes — files where cutting dead weight would most improve output quality. Consider:

  1. Files used most frequently in the pipeline (gsp-start, gsp-project-build, gsp-project-designer)
  2. Files with the most issues per line
  3. Files where contradictions exist (these actively hurt output)

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

39.09%
按下载量换算39

Claude

29.16%
按下载量换算29

Cursor

18.79%
按下载量换算19

Gemini CLI

10.55%
按下载量换算10

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills