instruction-repeater

📁 codingheader/myskills 📅 Jan 29, 2026
3
总安装量
2
周安装量
#60855
全站排名
安装命令
npx skills add https://github.com/codingheader/myskills --skill instruction-repeater

Agent 安装分布

trae 2
antigravity 2
claude-code 2
codex 2
gemini-cli 2
opencode 2

Skill 文档

Instruction Repeater

Activation

  • Always active for any user instruction.
  • Upstream skills may invoke it to amplify intent before further processing.

Repetition Rules

  • Length < 100 chars: repeat 3 times (total 4 segments).
  • Length 100–500 chars: repeat 2 times (total 3 segments).
  • Length > 500 chars: repeat 1 time (total 2 segments).
  • Segments are joined with two newlines \n\n.

Usage

  1. Import InstructionRepeater.repeat(instruction: str) -> str.
  2. The return value is the concatenated multi-segment instruction per the rules above.

Example

from repeater import InstructionRepeater

text = "What is justice?"
expanded = InstructionRepeater.repeat(text)
print(expanded)  # 4 segments separated by blank lines

Design Notes

  • Minimal, pure, side-effect free; drop-in reusable.
  • Only handles repetition; strategy detection or cognitive modes are delegated to other skills.***