Zum Inhalt springen
Skillpedia
Agenten8.6k · #12395

refocusing

Was er macht

Dieser Skill hilft einem langlaufenden KI-Agenten, seine Ausrichtung auf das Ziel wiederzufinden, wenn sein Kontext kompaktiert wurde oder er einen großen Meilenstein erreicht hat. Er richtet sich an Agenten, die ausgedehnte Arbeitssitzungen führen.

Wann du ihn nutzt

  • ✓Wenn ein langlaufender Agent das Produktergebnis möglicherweise aus den Augen verloren hat.
  • ✓Wenn sein Kontext kompaktiert wurde und er vor dem Handeln eine frische Nachverfolgung braucht.
  • ✓Wenn die Arbeit eine große Grenze überschritten hat und die nächste folgenreiche Aktion verankert werden muss.

Link zum Skill

https://github.com/mvschwarz/openrig/blob/main/packages/daemon/assets/plugins/openrig-core/skills/refocusing/SKILL.md

Kopiere ihn und füge ihn in deine KI ein (Claude, ChatGPT oder Cursor) mit der Bitte, den Anweisungen zu folgen.

So nutzt du ihn

Am einfachsten: Kopiere die Nachricht und füge sie in deine KI ein. Sie liest den Skill und folgt den Anweisungen.

Fertige Nachricht zum Einfügen

Nutze diesen Skill, um mir zu helfen: https://github.com/mvschwarz/openrig/blob/main/packages/daemon/assets/plugins/openrig-core/skills/refocusing/SKILL.md Lies die SKILL.md unter diesem Link und folge ihren Anweisungen für meine Aufgabe.
Soll deine KI Skills wie diesen selbst finden?Installiere den kostenlosen Skillpedia-MCP: eine Zeile, und sie durchsucht vor jeder Aufgabe 15.000+ Skills.In 1 Minute installieren →

Beispielanfrage an deine KI

“Wir sind seit Stunden dran und mein Kontext wurde kompaktiert. Richte mich auf das Produktergebnis aus, bevor ich die nächste Änderung mache.”

5 neue Skills pro Woche. 1 Minute Lesezeit.

So funktioniert es

Er führt ein mitgeliefertes Skript aus, das den aktuellen Rig-Aufbau und die Arbeit nachverfolgt, liest die relevanten Quellen vollständig und hält die Neuausrichtung fest, damit der Agent nach der aktuellen Absicht handelt.

Technischer Inhalt (originale SKILL.md)

Originaltext des Autors, auf Englisch, direkt von GitHub.

Refocusing

Invoke the skill as refocusing, its frontmatter name. OpenRig seeds it in the Claude and Codex global skill roots and includes selected plugin skills in managed loadouts. Existing externally managed copies remain authoritative. If the harness has not discovered it yet, read this installed skill file and run its script directly; hook registration alone does not prove native skill discovery.

Refocus preserves a long session's earned expertise while re-grounding it in current intent and lived context. It is not a restart, wake, or phase checkpoint.

During an actionable managed restore, consume the current topology and work trace that actually arrived with the request. Do not rerun Python merely to duplicate it. If no current trace arrived, name that delivery gap. A packet pointer, compact summary or truncated extract is not a full source read. Use the native file-read tool for required notes and full sources, and complete the existing restore audit; partial file reads do not establish completed refocus or restoration.

For a new trace outside that delivered context, follow the command guidance below. Resolve the bundled script's absolute path from the directory of this loaded skill. Stay in your current working directory; do not cd into the skill directory, which can change the inferred work node. Run the trace as one plain command, replacing the example path with the actual absolute path written out in the tool call:

python3 "/absolute/path/to/refocusing/scripts/trace-to-root.py" --trees both --depth light

Do not combine this command with shell variables, environment assignments, command substitution, exit-status printing or file-reading loops. Read the named source files separately with the native read tool. Combined shell loops or variables can require native approval even when the intended operations are read-only; a plain command is not a guarantee that approval will never be needed.

For managed compaction, refocus during the restore request or its read-depth audit. The earlier acknowledgement-only boundary is not permission to restore.

Use --trees topology|work|both to select context domains and --depth light|full to control how much each node contributes. Light work traces compose intent: and name notes; full traces include the complete node and notes bodies. The script resolves topology.root and workspace.root with rig config get. When a known current node must be supplied, pass --work-start or --topology-start with its literal absolute path in the same plain command. Do not substitute the project root for a mission or slice node and claim that mission was traced.

The trace walks the topology and work trees. For the project's own declared context (intent, context files, skills), rig context work-install lists it; read what the next action needs.

Read references/refocus.md when changing the automatic hook or its content ladder. A missing chain file is evidence: report the gap and continue; never follow pointers to invent a second parent.

Häufige Fragen

Ist das dasselbe wie das Aufwecken eines inaktiven Agenten?

Nein. Der Skill sagt, Neuausrichtung ist kein Neustart, kein Aufwecken und kein Phasen-Checkpoint.

Führt er Skripte bei jeder Wiederherstellung neu aus?

Nein. Bei einer verwalteten Wiederherstellung nutzt er die bereits gelieferte Nachverfolgung und führt nur dann eine neue aus, wenn keine kam.

Kann eine kurze Zusammenfassung das vollständige Lesen ersetzen?

Nein. Der Skill sagt, ein Verweis auf ein Paket oder eine kompakte Zusammenfassung ist kein vollständiges Quelllesen.

Details

Originalbeschreibung des Autors

Use when a long-running agent may have lost the product outcome, when context was compacted, when work has crossed a major boundary, or when a fresh path-based trace is needed before the next consequential action. Not for fresh-session orientation, waking an idle seat, or checkpoints.

repo: mvschwarz/openrig

Beliebtheit

GitHub-Sterne
8.6k
Platz im Ranking
#12395
Lizenz
Apache-2.0
Aktualisiert
2.11.2026

Ist dieser Skill nützlich?

0

Anmelden um abzustimmen.

Kommentare

  • …

Weitere Skills aus diesem Repository

Ähnliche Skills