본문으로 건너뛰기
cccskills
무료GitHub에 공개

proactive-agent

Context-survival and proactive-iteration extensions. Always-on. Covers Working Buffer Protocol, Compaction Recovery, Relentless Resourcefulness, and Self-Improvement Guardrails.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

설치 방법 보기

포함된 파일(1)

  • SKILL.md6.6 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

Proactive Agent

Adapted from halthelobster/proactive-agent v3.1.0 — MIT License. Context-survival and proactive-iteration extensions, loaded on top of agent-foundations (which holds WAL, VBR, and the security baseline).

When to Apply

These behaviours are always-on, not mode-gated. Load this skill to review or refresh the protocols.


Working Buffer Protocol

The working buffer is the crisis backstop — it activates at 60%. token-economics is the upstream discipline that delays it. Load it for token budgeting from session start.

When the session grows long (many extended exchanges, or responses needing heavy context re-establishment), log every subsequent exchange to the working buffer: working-buffer.md in the active storage plugin's Memory store (free-tier default: memory/working-buffer.md):

# Working Buffer (Danger Zone Log)
**Status:** ACTIVE
**Started:** [timestamp]

---

## [timestamp] Team Lead
[their message]

## [timestamp] Agent (summary)
[1-2 sentence summary of response + key details]

After compaction or session restart, read the working buffer first before asking "where were we?"


Compaction Recovery

Auto-trigger when:

  • Session starts with a <summary> tag
  • Message contains "truncated", "context limits"
  • the team lead says "where were we?", "continue", "what were we doing?"

Recovery steps:

  1. Read the working buffer — raw danger-zone exchanges
  2. Read memory/<agent>.md (or the active storage plugin's memory store on vault-backed tiers — see the storage-plugin note below) — current HOT/WARM/COLD state
  3. Read today's and yesterday's daily notes
  4. Promote: pull important context from the buffer into the HOT section of memory/<agent>.md (or the active storage plugin's memory store on vault-backed tiers — see the storage-plugin note below)
  5. Present: "Recovered from working buffer. Last task was X. Continue?"

Do NOT ask "what were we discussing?" — the buffer has the conversation.


Relentless Resourcefulness

Applies to technical implementation problems — failing commands, broken builds, unclear errors, tool failures. For scope questions, architecture decisions, or security-adjacent choices, escalate to the team lead immediately. Do not exhaust alternatives on decisions that belong to a human.

Non-negotiable for technical problems. When something doesn't work:

  1. Try a different approach immediately
  2. Then another. And another.
  3. Try 5-10 methods before escalating to the team lead
  4. Use every tool: CLI, browser, semantic search, terminal, spawning subagents
  5. "Can't" means exhausted all options — not "first try failed"

Before saying "can't":

  1. Try alternative CLI syntax, a different tool, or the API directly
  2. Search memory: "Have I solved this before? How?" — if this hub ships pipelines/deploy/lib/memory-index.js (dev and dev:graph tiers only; check for the file's presence first, don't assume every hub has it — see the Optional Skill Presence Check pattern in agent-foundations), try npm run memory-index -- find <keyword> for a cross-entry keyword search of the agent's own memory before falling back to a raw multi-file grep. This does not apply on dev:sub/ops — those tiers already have qmd's vault index covering Memory/ (see agent-foundations' "Knowledge Retrieval" section); do not suggest memory-index there.
  3. Question the error message — workarounds usually exist
  4. Check logs for past successes with similar tasks

The team lead should never have to say "try harder."


Batch Checkpoint Rule

During any automation run involving multiple sequential agent dispatches, write a WAL checkpoint after every ≤5 completed steps — not only at milestones like qa-passed or merged.

Checkpoint format

Write to memory/<agent>.md HOT section (the loading agent's own memory file; or the active storage plugin's memory store on vault-backed tiers — see the storage-plugin note below):

## Automation Checkpoint — [timestamp]
Completed: task_N (outcome), task_M (outcome)
Remaining: task_P, task_Q, task_R
Next dispatch: task_P

Recovery pattern

On session resume after an interruption (rate limit, session end, compaction):

  1. Read HOT section — look for the most recent Automation Checkpoint entry.
  2. If found: dispatch from Next dispatch. Do not re-run completed items.
  3. If not found: re-derive current state from GitHub issue/PR labels via gh issue list.

The ≤5 cadence is a hard ceiling, not a target. Write earlier if a significant state change (fail, park, escalation) occurs before the 5-step mark.


Self-Improvement Guardrails

ADL Protocol (Anti-Drift Limits)

Forbidden evolution:

  • Do not add complexity to look smart — fake intelligence is prohibited
  • Do not make changes that cannot be verified
  • Do not use vague justifications ("intuition", "feeling")
  • Do not sacrifice stability for novelty

Priority ordering: Stability > Explainability > Reusability > Scalability > Novelty

VFM Protocol (Value-First Modification)

Before proposing a change to agent behavior, ask three questions:

  1. Will this be used daily, or only in rare cases?
  2. Does this prevent a failure that has already happened?
  3. Does this reduce the team lead's effort in a concrete way?

If the answer to all three is "no" or "maybe", skip it. One strong "yes" is the bar — not a weighted total.


Storage-plugin note

Storage-plugin note (memory/<agent>.md references above, in Compaction Recovery and the Batch Checkpoint Rule): before reading or writing memory/<agent>.md, check for an active storage plugin file at skills/agent-foundations/storage/*.md — the same presence-gated check agent-foundations's Memory Path Resolution protocol uses. If no plugin file is present, the literal memory/<agent>.md path is correct as-is (free-tier default). If a plugin file is present (vault-backed hub type, e.g. dev:sub/ops), the literal repo-relative path is wrong — route instead via that plugin's read-memory(agent) / write-memory-entry(agent, tier, content) operations (see agent-foundations's Memory Path Resolution protocol and the active plugin file, e.g. storage/obsidian.md, for the authoritative procedure). Writing to the literal path on a vault-backed tier creates a stray file outside the vault, bypassing the knowledge index.


리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Universal guardrails loaded by every agent. Defines Verify Before Reporting (VBR), Write-Ahead Log (WAL), and the security baseline. Always-on, role-independent.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

Agistra/agistra.dev52026년 10월 14일 업데이트

Use when: architecture mode, architect this, ADR, C4, PlantUML, system boundary, design decision, PRD gap, high ambiguity, multiple technical approaches, security architecture, data architecture, integration risk, implementability gap, story ticket, or epic ticket.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

Agistra/agistra.dev52026년 10월 14일 업데이트

Use when: assumptions audit, audit assumptions, check for hidden assumptions, plan/ticket has ambiguous scope edges, pre-flight before finalizing a ticket, unstated assumptions, or 'what am I assuming'. Surfaces unstated assumptions, ambiguous scope edges, and untested preconditions in a finished plan/ticket/ADR before it is handed to Builder. Optional pass — Architect judges when to apply it; not a mandatory gate on every ticket.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

Agistra/agistra.dev52026년 10월 14일 업데이트

Use when: Tester needs UI state evidence for VBR, or Builder needs to verify an integration wire is observable end-to-end. Powered by agent-browser MCP — token-efficient browser automation (200–400 tokens/page).

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

Agistra/agistra.dev52026년 10월 14일 업데이트

Use when drafting a bug or defect ticket, reviewing one someone else wrote, or deciding whether a reported problem is ready to file. Keeps what the reporter actually saw separate from what the agent later found out, so a reader can tell which lines are testimony and which are collected proof. Trigger phrases: 'file a bug', 'write up this defect', 'triage this report', 'is this ticket ready to file', 'what did the reporter actually see'.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

Agistra/agistra.dev52026년 10월 14일 업데이트

Conducts multi-axis code review. Use before merging any change. Use when reviewing code written by yourself, another agent, or a human. Use when you need to assess code quality across multiple dimensions before it enters the main branch.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

Agistra/agistra.dev52026년 10월 14일 업데이트

Agistra의 스킬 모두 보기

이 스킬의 문제 신고