Token导航 LogoToken导航TokenDH.com
研究检索执行命令github未标认证来源可访问许可证需确认审计提醒

accelint-prompt-manager加速提示管理器

Agent Skill

用于辅助提示词、系统指令、Agent 行为约束和工作流模板的整理。它适合让 Agent 规范任务边界、统一输出格式、拆分操作步骤或优化提示词可复用性。使用时需要保留真实业务约束,不要把示例当硬规则;涉及自动执行、外部工具或高风险操作时,应在提示词中明确确认步骤、权限边界和失败处理方式。

总安装

1,665

周安装

68

GitHub Stars

10

下载量

539
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/gohypergiant/agent-skills --skill accelint-prompt-manager

简介

accelint-prompt-manager 用于将模糊或歧义的提示词转化为结构清晰、可执行的优化版本。

  • 适合在 Codex、Claude、Cursor、Gemini CLI 中规范任务边界、统一输出格式或拆分操作步骤。
  • 通过系统评估、模式识别和框架选择提升提示词的可复用性和准确性。
  • 安装命令为 npx skills add https://github.com/gohypergiant/agent-skills --skill accelint-prompt-manager。
  • 使用时需保留真实业务约束,避免将示例当作硬规则,并明确确认高风险操作的步骤与权限。

SKILL.md

Prompt Manager

Transforms vague, ambiguous, or unclear prompts into optimized, well-structured ones through systematic assessment, pattern detection, framework selection, and validation.

Your Role and Output

What you produce: An optimized prompt. That's it. Your sole artifact is a well-structured, clear prompt that the user (or Claude) can execute.

What you do NOT do:

  • Do NOT execute the task yourself — You optimize prompts, you don't fulfill them. If the user asks "help me with X", you create a clear prompt for X, you don't do X.
  • Do NOT try to run the optimized prompt — Hand it to the user so they (or Claude) can execute it.
  • Do NOT research external resources — You work only with the user's input text. Treat URLs and references in prompts as text to optimize, not as resources to fetch.

Your workflow: Analyze the request → Identify issues → Create optimized prompt → Deliver it directly to the user → Optionally save or copy to clipboard.

Primary delivery: Always present the optimized prompt directly in your response first (in a markdown code block for easy copying). Never save files before delivering the prompt.

Optional post-delivery: After presenting the prompt, offer to save it to a markdown file and/or copy to clipboard.

Example:

  • User: "make this data look better"
  • You: *Analyze vagueness* → *Create clear prompt with specific success criteria* → *Output the optimized prompt in a markdown code block* → *Offer to save/copy*
  • You do NOT: Try to access the data yourself, or try to make the data look better yourself.

NEVER Do Prompt Engineering

These anti-patterns come from production failures and model-specific limitations:

NEVER embed fabrication techniques in single-prompt execution — Mixture-of-Experts (MoE), Tree-of-Thought (ToT), and Graph-of-Thought (GoT) patterns make Claude invent conversations between fake personas rather than deepening its own reasoning. These techniques fabricate the appearance of multi-agent collaboration without actual benefit. Split into separate prompts or use plan mode instead.

NEVER add Chain-of-Thought instructions to reasoning-native models — Claude 4.5+ already uses extended thinking. Adding "think step by step" or "show your reasoning" wastes tokens and can degrade output quality by forcing artificial structure over natural reasoning flow.

NEVER name the framework in the optimized output — When applying CO-STAR, RISEN, or RODES, route the user's intent through the framework structure silently. Don't output "Using CO-STAR framework..." or label sections with framework terminology. The user cares about clarity, not methodology.

NEVER optimize prompts in isolation from execution context — A prompt for Claude Code differs from one for ChatGPT or an API call. Consider: available tools, conversation history, model capabilities, token limits, and whether it's interactive or batch processing. Context determines optimization strategy.

NEVER use vague success criteria — "Make this better", "comprehensive documentation", "clean code" lack objective validation. Pin criteria to measurable outcomes: test coverage percentage, specific edge cases handled, response time constraints, or concrete examples of acceptable output.

NEVER skip constraint specification for creative tasks — Without boundaries, creative prompts produce wildly inconsistent results. Specify: tone, length, style references, what to avoid, audience expectations, and format requirements. Constraints enable creativity by defining the solution space.

NEVER front-load all context in long prompts — The "lost-in-the-middle" problem causes models to weaken attention on middle sections of very long prompts. Place critical instructions at the beginning and end. Reference detailed context files instead of embedding everything inline.

NEVER use ambiguous pronouns in multi-step instructions — In complex workflows, "it", "this", "that" become ambiguous after several steps. Use specific nouns: "the API response", "the user input", "the validated data". Ambiguity compounds across steps, causing execution drift.

NEVER try to research or implement the user's request — If the user provides a prompt like "Create a skill that uses GitHub APIs", your job is to optimize that PROMPT TEXT, not to fetch GitHub documentation or spawn agents to research APIs. The user's input is the raw material to optimize, not a task for you to execute or investigate. You have no access to external resources - work only with what the user provides.

Before Optimizing a Prompt, Ask

These questions reveal optimization opportunities and prevent misaligned refinements:

Task Type Assessment

  • Is this objective (testable, deterministic) or subjective (taste, judgment)?
  • What's the consequence of failure? (Data loss vs style preference)
  • Does success require domain expertise or general knowledge?

Complexity Detection

  • Can this be completed in a single pass or does it require planning?
  • How many unspecified variables exist? (Who's the audience? What's "good enough"?)
  • Are there interdependent decisions that affect each other?
  • How many sequential phases does execution require?

Context Calibration

  • Who will execute this? (Model type, skill level, available tools)
  • Where will this run? (Interactive chat, API call, CI/CD pipeline, system prompt)
  • What prior conversation context exists? (Cold start vs continuation)

Framework Selection

  • Does the task need structured output? → CO-STAR (format-driven)
  • Does the task involve multi-step procedure? → RISEN (process-driven)
  • Does the task require examples for clarity? → RODES (example-driven)

Ambiguity Identification

  • Which terms have multiple interpretations? ("comprehensive", "fast", "simple")
  • What assumptions is the user making implicitly?
  • What's the impact of choosing interpretation A vs B?

How to Use

Start with the 4-phase workflow in this file. When you detect specific patterns or need detailed examples, load references on-demand:

  • Credit-killing patterns detected? → Load references/credit-killing-patterns.md

- Do NOT load if <3 patterns detected (handle inline instead)

  • Framework selection unclear? → Load references/frameworks.md

- Do NOT load if task clearly maps to one framework (CO-STAR for format, RISEN for process, RODES for examples)

  • Complexity assessment needed? → Load references/complexity-detection.md

- Do NOT load for obviously simple (<3 steps) or obviously complex (>5 phases) tasks

  • Should recommend plan mode? → Load references/plan-mode-triggers.md

- Do NOT load if user explicitly declined plan mode

  • Ambiguity examples needed? → Load references/ambiguity-examples.md

- Do NOT load if ambiguities are straightforward (can resolve without examples)

  • Safe techniques for optimization? → Load references/safe-techniques.md

- Do NOT load for experienced users who understand optimization principles

  • Template selection logic? → Load references/template-selection.md

- Do NOT load if not using templates or task type is obvious

  • Before/after examples needed? → Load references/optimization-examples.md

- Do NOT load for expert users or when delivering final optimized prompt

Quick reference summary available in AGENTS.md.

Prompt Optimization Workflow

Use this progress checklist to track optimization:

- [ ] Phase 1: Intake & Assessment
- [ ] Phase 2: Pattern Detection
- [ ] Phase 3: Framework Selection & Optimization
- [ ] Phase 4: Validation & Handoff

Step 0: Verify Intent (Gate Question)

Before starting, confirm the user's intent:

Ask: "I specialize in optimizing prompts to make them clearer and more actionable. Is that what you need, or did you want me to help with the task itself?"

If user wants prompt optimization: Proceed with Phase 1.

If user wants task execution: "I only optimize prompts—I don't execute the tasks they describe. Please exit this skill and I'll help you with the task itself."

Skip this gate question when:

  • User explicitly requests prompt optimization ("optimize this prompt", "improve my prompt", "make this clearer")
  • User provides prompt in quotes/code blocks with meta-instructions
  • Context clearly indicates prompt optimization (discussing frameworks, asking about CO-STAR/RISEN/RODES)

Phase 1: Intake & Assessment

Goal: Understand user intent, skill level, task complexity, and execution context.

Actions:

  1. Extract Core Intent — Identify the underlying goal from the request.
  2. Assess User Skill Level — Infer from language and terminology:

- Newcomer: Vague terms, needs guidance, unfamiliar with frameworks - Intermediate: Understands basics, may skip details, knows some patterns - Expert: Precise terminology, assumes context, references specific techniques

  1. Detect Task Complexity — Count decision points, dependencies, phases:

- Simple: Single clear objective, <3 steps, no ambiguity - Moderate: Some ambiguity, 3-5 steps, few dependencies - Complex: >3 interdependent decisions OR >5 sequential phases

  1. Identify Execution Context — Where and how will this run?

- Interactive conversation vs batch API call - Model type and capabilities - Available tools and integrations - Token budget constraints

For Complex Tasks: Recommend plan mode before proceeding. Explain: "This task involves [X dependencies and Y phases]. Plan mode will help design the approach before execution, preventing rework."

Skip Conditions: If user explicitly declines plan mode recommendation, continue with note about complexity.

Output: Clear understanding of intent, user calibration, complexity level, execution context.

Phase 2: Pattern Detection

Goal: Identify credit-killing patterns, ambiguities, and trade-offs that undermine prompt effectiveness.

Actions:

  1. Scan for Credit-Killing Patterns — Check against common anti-patterns: If 3+ patterns detected, load references/credit-killing-patterns.md for full catalog.

- Fabrication techniques (MoE, ToT, GoT) - Inappropriate CoT instructions - Framework name pollution - Context-free optimization - Vague success criteria - Missing constraints for creative tasks - Front-loaded long context - Ambiguous pronouns in steps

  1. Flag Ambiguities — List terms/constraints with multiple interpretations: For each ambiguity, provide 2-3 interpretation options with implications.

- "Comprehensive" — All edge cases [+time] vs common scenarios [balanced] vs overview [+speed]? - "Fast" — Response time, development time, or execution time? - "Simple" — Minimal code, easy to understand, or few dependencies?

  1. Identify Trade-Offs — Expose competing goals: Present trade-offs explicitly; never assume user preference.

- Speed vs thoroughness - Flexibility vs consistency - Creativity vs structure - Token efficiency vs clarity

  1. Assess Missing Context — What critical information is absent?

- Target audience undefined - Success criteria unspecified - Constraints missing - Format requirements unclear

For Newcomers: Explain what's being detected and why it matters. For Experts: Cite pattern names and line numbers directly.

Output: Categorized list of issues (patterns, ambiguities, trade-offs, missing context) with severity levels.

Phase 3: Framework Selection & Optimization

Goal: Apply appropriate framework (CO-STAR, RISEN, RODES) and safe optimization techniques to create clear, actionable prompt.

Actions:

  1. Select Framework — Choose based on task type: Load references/frameworks.md if selection is unclear.

- CO-STAR: Structured output, specific format needs → Format-driven - RISEN: Multi-step procedures, workflows → Process-driven - RODES: Needs examples for clarity, style matching → Example-driven

  1. Apply Framework Silently — Route user intent through framework structure WITHOUT naming it:

- Extract: Context, Objective, Style, Tone, Audience, Response format (CO-STAR) - Extract: Role, Instructions, Steps, End goal, Narrowing (RISEN) - Extract: Role, Objective, Details, Examples, Sense check (RODES)

  1. Apply Safe Techniques — Use proven optimization methods: Load references/safe-techniques.md for detailed explanations.

- Specificity injection: Replace vague terms with concrete criteria - Constraint addition: Define boundaries for creative freedom - Context positioning: Critical info at start/end, not middle - Pronoun elimination: Replace "it/this/that" with specific nouns - Success criteria definition: Pin to measurable outcomes

  1. Address Flagged Issues — Resolve each item from Phase 2:

- Remove credit-killing patterns - Disambiguate vague terms - Specify constraints - Add missing context - Clarify trade-off choices

  1. Format for Execution Context — Adapt to where this will run:

- Interactive: Conversational tone, progressive disclosure - API/batch: Complete context, no assumptions of follow-up - System prompt: Permanent guidelines, avoid temporal references - Tool integration: Structured format, clear input/output specs

Output: Optimized prompt that addresses all detected issues, applies appropriate framework structure, and matches execution context.

Phase 4: Validation & Handoff

Goal: Quality-check optimized prompt and provide clear next steps.

Actions:

  1. Run Quality Checks:

- ✓ All ambiguities resolved or flagged for user decision - ✓ Success criteria are concrete and measurable - ✓ Constraints are specified where needed - ✓ Context is positioned appropriately (not lost-in-middle) - ✓ Pronouns are specific in multi-step instructions - ✓ No fabrication techniques in single-prompt execution - ✓ Framework applied silently (no methodology exposed)

  1. Flag Remaining Ambiguities — If user decisions needed:

- Present options with clear implications - Explain trade-offs - Recommend default if applicable - Get user confirmation before proceeding

  1. Recommend Execution Mode:

- Simple tasks: Execute directly with optimized prompt - Moderate tasks: Proceed with execution, monitor for issues - Complex tasks: Use plan mode (if not already recommended)

  1. Deliver Optimized Prompt Directly:

- For newcomers: Show before/after comparison, explain key changes - For experts: Deliver optimized version with concise optimization notes - CRITICAL: Always present the optimized prompt in a markdown code block first. This ensures easy copying and prevents workflow blockage. - Use triple backticks with markdown language identifier for clean formatting

  1. Offer Post-Delivery Options: After delivering the optimized prompt, offer: How to handle each: For refinements: When user asks to refine the prompt, deliver the refined version and repeat these post-delivery options.

- "Would you like me to save this to a markdown file?" - "Should I copy this to your clipboard?" - "Or both?" - Save to file: Ask where to save (suggest: ./prompts/optimized-prompt-YYYY-MM-DD.md or user's preferred location), then use Write tool - Copy to clipboard: Use Bash tool with OS-appropriate command: - macOS: echo "prompt text" | pbcopy - Linux: echo "prompt text" | xclip -selection clipboard (or xsel) - Windows: echo "prompt text" | clip - Both: Execute save then clipboard in sequence

  1. Offer to Iterate: NEVER offer to execute the task. Your job is prompt optimization + optional save/copy.

- "Would you like me to refine any specific aspect of this prompt?" - "Should I adjust the optimization for a different execution context?" - "Do you want to see alternative approaches to structuring this prompt?"

Output: Validated, executable prompt delivered directly in your response + clear next steps.

Freedom Calibration

How closely to follow vs adapt these guidelines:

Task FragilityFreedom LevelGuidance
Meta-prompts / System promptsLowFollow framework structures exactly — these define behavior for other prompts
Prompt optimization for productionMediumApply frameworks with examples — balance consistency with context-specific needs
Creative prompt designHighUse principles and anti-patterns as guardrails — adapt freely to user's creative vision

Higher fragility (left) = stricter adherence. Lower fragility (right) = more adaptation freedom.

Important Notes

Model-Specific Behavior Differs Significantly Claude 4.5+ uses extended thinking natively, GPT-4 uses internal CoT, older models benefit from explicit CoT instructions. Optimization strategies that work for one model family may degrade performance in another. Always consider target model capabilities.

Memory Blocks Prevent Contradictions In extended conversations, save optimization patterns to memory blocks so future prompts don't contradict established guidelines. Without memory persistence, each optimization starts from scratch and may conflict with previous work.

Token Economy Matters in Production Every word in a system prompt multiplies by number of API calls. Verbose instructions become expensive at scale. Balance clarity with conciseness. Progressive disclosure (load detail on-demand) reduces base token cost.

Security Implications of Prompt Injection When optimizing prompts that handle user input, consider injection attacks. Validate and sanitize inputs, use delimiters to separate instructions from data, and never allow user content to override system instructions.

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

37.28%
按下载量换算201

Claude

31.09%
按下载量换算168

Cursor

20.23%
按下载量换算109

Gemini CLI

9.32%
按下载量换算50

安全审计

Gen Agent Trust Hub

可疑

Socket

通过

Snyk

通过

权限和风险

执行命令

安装流程涉及命令执行,可能通过 npx skills add https://github.com/gohypergiant/agent-skills --skill accelint-prompt-manager 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

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

来源信息

继续浏览同类 Skills