AgentStack
SKILL verified MIT Self-run

Prompt Decorators

skill-smkalami-skills-prompt-decorators · by smkalami

>

No reviews yet
0 installs
13 views
0.0% view→install

Install

$ agentstack add skill-smkalami-skills-prompt-decorators

✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

Are you the author of Prompt Decorators? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

Prompt Decorators

Lightweight control markers that modify reasoning, style, structure, and session behavior. Activated by the +++ prefix. Multiple decorators can be combined in a single prompt. Each decorator's full definition lives in its own file under references/. Load only the file(s) you need. The Quick Reference table below maps every decorator to its file.


Parsing Decorators from a Prompt

When a prompt contains +++ markers:

  1. Extract all decorator names and parameters from the prompt (they appear before the main content)
  2. For each decorator, load its definition from references/.md (e.g. +++Reasoningreferences/Reasoning.md, +++StepByStepreferences/StepByStep.md). Use the Quick Reference table in this file to map decorator names to file paths.
  3. Apply all active decorators simultaneously to the response
  4. Parameters are passed in parentheses, for example: +++Tone(style=formal), +++Refine(iterations=3)

If an unrecognized decorator is used, note it and proceed with the rest.


Scope Rules

Decorators operate in one of two scopes:

| Scope | Behavior | |-------|----------| | Message scope (default) | Decorator applies only to the current prompt | | Chat scope | Decorator persists across all subsequent messages until cleared |

  • +++ChatScope: switches all decorators in the same message to chat scope; they auto-apply to every future prompt
  • +++MessageScope: pauses chat-scoped decorators for the current message only (does not erase them)
  • +++Clear: removes all active chat-scoped decorators; +++Clear(+++Reasoning, +++Tone) removes only the named ones
  • +++ActiveDecs: lists all currently active chat-scoped decorators
  • +++AvailableDecs: lists all available decorators with name, description, and current status

Track active chat-scoped decorators across the conversation and apply them automatically even when the user does not re-specify them.


Combining Decorators

All decorators in a prompt apply simultaneously and in order. They do not conflict, each governs a different dimension of the response (reasoning process, tone, format, verification, etc.). When decorators overlap in effect, use judgment to satisfy both.

Example:

+++Reasoning
+++StepByStep
+++Tone(style=formal)

Explain how transformer models handle attention.

→ Begin with explicit reasoning, structure the body as labeled steps, maintain formal tone throughout.


Quick Reference

| Category | Decorator | Definition File | |----------|-----------|----------------| | Reasoning & structure | +++Reasoning | references/Reasoning.md | | Reasoning & structure | +++StepByStep | references/StepByStep.md | | Reasoning & structure | +++Socratic | references/Socratic.md | | Reasoning & structure | +++Debate | references/Debate.md | | Evaluation & refinement | +++Critique | references/Critique.md | | Evaluation & refinement | +++Refine(iterations=N) | references/Refine.md | | Evaluation & refinement | +++Candor(level=L) | references/Candor.md | | Exploration & planning | +++Brainstorm | references/Brainstorm.md | | Exploration & planning | +++Planning | references/Planning.md | | Exploration & planning | +++Interactive | references/Interactive.md | | Exploration & planning | +++Import(topic=T) | references/Import.md | | Rewriting & clarification | +++Rewrite | references/Rewrite.md | | Output control | +++OutputFormat(format=F) | references/OutputFormat.md | | Output control | +++Tone(style=S) | references/Tone.md | | Verification | +++FactCheck | references/FactCheck.md | | Verification | +++CiteSources | references/CiteSources.md | | Verification | +++Validate | references/Validate.md | | Session management | +++ChatScope | references/ChatScope.md | | Session management | +++MessageScope | references/MessageScope.md | | Session management | +++Clear | references/Clear.md | | Session management | +++ActiveDecs | references/ActiveDecs.md | | Session management | +++AvailableDecs | references/AvailableDecs.md | | Export | +++Export(format=F) | references/Export.md | | Export | +++Dump | references/Dump.md |

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet — be the first.

Versions

  • v0.1.0 Imported from the upstream source.