Przejdź do treści
Biblioteka skilli
Nauka i badania · Analiza

investigate

/investigate

Testuje hipotezy dowodami, kontrprzykładami i analizą, aby zweryfikować, udowodnić lub obalić twierdzenia badawcze.

Repozytorium
reaper ↗
Licencja
Apache-2.0
Ostatnia zmiana repozytorium
28.09.2026

Ocena i bezpieczeństwo

100/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść35 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
1
Skrypty
0
Komentarze HTML
0
Adresy URL w SKILL.md
0
Przestarzałość

Brak sygnałów. Repozytorium zmienione 28.09.2026, bez odwołań do wycofanych modeli i API.

Licencja

Apache-2.0, otwarta: można używać i zmieniać, z zachowaniem licencji i informacji o zmianach.

Co robi i kiedy

Testuje hipotezy dowodami, kontrprzykładami i analizą, aby zweryfikować, udowodnić lub obalić twierdzenia badawcze.

Argumenty

/investigate [number-of-cycles]
Oryginalny opis (EN)

This skill tests hypotheses with proofs, counterexamples, and analysis. You use it to verify, prove, or refute research claims.

Jak działa

  1. Usage
  2. Inputs
  3. Batch Loop
  4. Completion
  5. When Progress Stops
  6. Negative Results
  7. Re-Formalization Protocol
Sekcje z nagłówków SKILL.md, w oryginale · 213 linii, 1 696 słów
Podgląd SKILL.md
---
name: investigate
description: "This skill tests hypotheses with proofs, counterexamples, and analysis. You use it to verify, prove, or refute research claims."
user-invocable: true
argument-hint: "[number-of-cycles]"
license: Apache-2.0
compatibility: "The host should support parallel subagents. This skill uses sequential execution when the host cannot run subagents."
---

# Investigate

You must read and apply the [language rules](../reaper/references/language.md) before you write any output.

Each cycle tests one hypothesis and returns a keep or discard verdict.

## Usage

You invoke this skill by name with an optional cycle count. The default count is 5. Slash-command hosts use `/investigate 10`.

```
investigate 10
investigate
```

## Inputs

You always read these files:

- `reaper-workspace/notes/problem-statement.md`
- `reaper-workspace/notes/ideas.md`
- `reaper-workspace/notes/current-understanding.md`
- `reaper-workspace/notes/results.md`

You read these sources only when a hypothesis needs them or progress stops:

- `reaper-workspace/notes/paper-summary.md`, if it exists.
- `reaper-workspace/notes/literature.md`
- `reaper-workspace/papers/`, including `<id>-notes.md` files.
- `../reaper/references/methodology.md`

## Batch Loop

You test independent hypotheses in parallel batches when the host supports subagents. You use sequential execution for dependent hypotheses or hosts without subagents. Each batch has three stages: plan, dispatch, and merge. You repeat batches while cycles remain and unresolved hypotheses exist.

### Plan

1. You read `ideas.md` and `notes/results.md`.
2. You identify unresolved hypotheses. You check previous results to avoid repeated failed approaches.
3. You map dependencies between hypotheses.
4. You select the largest independent set that fits the remaining cycle count.
5. You assign consecutive cycle numbers to each subagent without overlap.
6. You use a batch of one if all remaining hypotheses form a dependency chain.
7. If all hypotheses are resolved, you return to the orchestrator. It can invoke `brainstorm` for more ideas.

### Dispatch

You start one subagent per hypothesis with the host's parallel tool. You start the batch in one message when the host permits this. You give each subagent these inputs:

- Its cycle numbers and hypothesis.
- Two or three relevant findings from `current-understanding.md`, usually 200-500 words.
- A pointer to `current-understanding.md` for additional context.
- The single-cycle procedure in Steps A-E.
- A request for result rows, a verdict, and any keep finding to merge.

You do not send the full current-understanding file to every subagent. Subagents read shared notes without changing them during the batch.

### Step A: Create the Investigation Directory

For a new hypothesis, you create `reaper-workspace/investigations/NNN-<slug>/`. `NNN` is the assigned cycle number with leading zeros, such as `001`. `<slug>` is a short description, such as `proof-lemma3`.

For a repeated hypothesis, you reuse its existing directory. You keep the original directory number. You edit `analysis.md` and `proof.md` in place. The result row uses the new cycle number.

### Step B: Investigate

You select the method for the hypothesis's immediate task:

- **Proof verification:** You check an existing proof for missing steps, hidden assumptions, and boundary errors.
- **Counterexample search:** You construct an execution that violates a claim. You start with small cases.
- **Comparison:** You compare approaches under the same specified conditions.
- **New proof:** You construct an argument for a claim without an existing proof to check or a counterexample to build.

For a new proof, you use `security-analysis` for security claims and `performance-analysis` for cost claims.
You use `proof-attempt` for other claims. You check whether the proof can use fewer steps or assumptions.

You write reasoning, attempts, failed approaches, and findings to the investigation's `analysis.md`. On a revisit, you revise the existing text to show the current understanding.

#### Parallel Work Within a Cycle

If the result is uncertain, you can start separate proof and counterexample subagents. The first complete result determines the outcome. You record the other subagent's partial work in the investigation directory. You can also search IACR, arXiv, and the web in parallel when progress stops.
If evidence already strongly favors one outcome, you use the corresponding method.

#### Formal Proof Structure

You write formal claims and proofs in `reaper-workspace/investigations/NNN-<slug>/proof.md`.
Each entry uses `## Theorem/Lemma/Proposition N: <name>` and these fields:

- **Statement:** You give the exact mathematical claim.
- **Assumptions:** You list every model, hardness, and network assumption.
- **Proof:** You number logical steps and justify each with a definition, assumption, lemma, or source. You end with ∎.
- **Proof technique:** You name the method, such as reduction, induction, simulation, or hybrid argument.

You use the proof methods, Reduction Quality Gate, and performance checks in `../reaper/references/methodology.md`. You state the selected method in the proof header. If an attempt fails, you record the method and cause. You try another method in the next cycle.

All properties need formal predicates. You specify model assumptions for every proof.
Security proofs need definitions, reductions, bounds, and explicit reduction loss.
Performance proofs distinguish worst-case, average, and amortized costs.
Impossibility proofs specify the excluded behavior and use contradiction or reduction.

If a proof has a gap, you identify the exact step. You state any additional assumption that closes the gap. You log an incomplete proof attempt as `inconclusive`. You label unproven claims as conjectures.

### Step C: Evaluate

A cycle makes progress through a changed answer, a new question, a simpler argument, or an error correction.
A changed answer can confirm, refute, or narrow a hypothesis.
You describe each finding once, even when it has multiple effects.

You prefer a proof with fewer assumptions or fewer steps for the same result. You exclude findings that do not support the research goal. You state the cycle outcome in one sentence.
If the outcome needs multiple claims, you record that issue for the next cycle.

#### Classify Proof Issues

| Issue | Meaning | Outcome |
|---|---|---|
| Gap (fillable) | The proof lacks a step, but its approach remains valid. | `partially-confirmed` |
| Gap (structural) | The proof method cannot establish the claim as written. You test an alternative proof. | `inconclusive` |
| Error (theorem likely false) | A concrete counterexample or execution trace violates the claim. | `refuted` |
| Overclaim | The proof establishes a weaker claim. You state the exact weaker result. | `partially-confirmed` |

#### Check Composition

When you confirm a core property, you check its effect on composition. You use `../reaper/references/definitional-standards.md` for relevant conditions, such as rewinding or shared setup. You record composition limits in `analysis.md`, even if the hypothesis did not request this check.

### Step D: Log

You prepare a row for `reaper-workspace/notes/results.md`:

```
| NNN | H# | action-type | outcome | confidence | status | one-sentence description |
```

The fields use these values:

- **action-type:** `proof-verification`, `proof-attempt`, `counterexample-search`, `security-analysis`, `performance-analysis`, `comparison`, `literature-search`, `reformulation`.
- **outcome:** `confirmed`, `refuted`, `partially-confirmed`, `inconclusive`, `new-hypothesis`, `reformulate`.
- **confidence:** `high`, `medium`, `low`.
- **status:** `keep`, `discard`.

Subagents return rows to the main agent without editing `results.md`. They mark revisits as updates with the latest cycle number, outcome, confidence, and description.

You create `reaper-workspace/logs/cycle-NNN-<slug>.md` for every cycle. You use the current cycle number, including on revisits. You never change this log after creation.

The log uses title `# Cycle NNN: <hypothesis title>`.
It records Hypothesis, Action, Outcome, confidence, and Verdict.
Its `## Summary` explains the attempt, evidence, and verdict in 1-3 short paragraphs.

#### Set Confidence

You start one level below your initial confidence estimate. You use high confidence only after you check every proof step.

| Confidence | Required evidence |
|---|---|
| `high` | The argument is complete. Every step has a justification. Reductions pass the Reduction Quality Gate. |
| `medium` | The argument seems correct, but at least one step lacks full verification or formal justification. |
| `low` | The argument has large gaps or unchecked assumptions. It supports a conjecture rather than a proven result. |

### Step E: Keep or Discard

You return `keep` and the finding when Step C shows progress. Otherwise, you return `discard`. You retain every investigation directory for the audit record. Subagents do not write to `current-understanding.md`.

### Merge

The main agent waits for all subagents in the batch. It performs these actions:

1. It updates existing hypothesis rows in `notes/results.md`.
2. It adds rows only for new hypotheses. It orders rows by hypothesis number.
3. It merges keep findings into `notes/current-understanding.md` as a coherent explanation.
4. It adds new hypotheses from the batch to `ideas.md`.
5. It updates resolved, lower-priority, or covered ideas in place.
6. It adds a batch summary after the results table.
7. It reads the updated state before it plans another batch.

The summary uses `## Batch Summary (Cycles NNN-MMM)`.
It lists Keep findings and Discard patterns with one sentence per finding or pattern.

Only the main agent writes shared notes during merge. The `brainstorm` and `write-paper` skills use batch summaries to reduce file reading. For a batch of one, the main agent can run Steps A-E directly.

## Completion

You run all N cycles unless all hypotheses reach high-confidence resolution and no useful new hypotheses remain. You do not ask whether the user wants you to continue. You also return early for the reformulation condition below.

## When Progress Stops

You follow "When Stuck: 8-Step Escalation" in `../reaper/references/methodology.md`. You use `../reaper/references/search-tools.md` for search commands. Those commands use `arxiv.py` and `iacr.py` from the `/search-paper` skill.

You download relevant new papers to `reaper-workspace/papers/`. You write `<id>-notes.md` for each paper. You integrate findings into the existing sections of `notes/literature.md`. You do not create a separate section for additions during investigation. You log the search with action-type `literature-search`.

If all eight steps fail, you log `inconclusive` and continue to the next hypothesis. The orchestrator can invoke `brainstorm` after the batch.

## Negative Results

After three cycles with the same proof failure or evidence of refutation, you change direction.

1. You attempt a concrete attack, execution trace, or reduction to a known impossibility.
2. You identify the weakest additional assumption that restores the positive claim.
3. You record a supported negative result as outcome `refuted` and status `keep`.
4. You state the result and its implications in the cycle description for later brainstorming.

You do not repeat minor changes to the same failed proof method.

## Re-Formalization Protocol

If a cycle finds incorrect model assumptions, a wrong core question, or incorrect property definitions, you request reformulation.

1. You log outcome `reformulate` and status `keep`.
2. You add `## Re-Formalization Signal` to the cycle's `analysis.md`.
3. That section states the error, evidence, and proposed correction.
4. You start the result description with `REFORMULATE`, followed by a one-sentence explanation.
5. You stop further batches and return the signal to the orchestrator.

The orchestrator invokes `formalize-problem` with this evidence before investigation resumes.

Wersje

RepozytoriumWynikLicencja
Ta strona · SebastianElvis/reaper100Apache-2.0
launchdarkly/ai-tooling100Apache-2.0
Borda/AI-Rig100Apache-2.0
frankxai/agentic-creator-os100Apache-2.0
ghaida/intent100CC0-1.0
pfangueiro/claude-code-agents100MIT
madappgang/magus100MIT
zanderadam/engy100MIT
duc01226/EasyPlatform100MIT

Migawka bazy z 13.11.2026 · wersja paczki 451ac9e86a17 (skrót SHA-256 całej paczki)

Pobrania w ostatnich 30 dniach: 2 · ranking

Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 100popper-falsifiability
    Zamienia niejasne twierdzenia w testowalne hipotezy i projektuje badania, które mogłyby je obalić, zgodnie z falsyfikacją Poppera.
  • 100falsifier-view
    Wskazuje dla każdego twierdzenia konkretną obserwację, która by je obaliła, i oznacza twierdzenia, których nic nie mogłoby obalić.
  • 100theory-diagnostics
    Sprawdza wyniki teoretyczne: ponownie wyprowadza twierdzenia z prymitywów pracy, szuka kontrprzykładów i testuje założenia dowodów.
  • 90belief-update
    Aktualizuje hipotezy i decyzje projektu badawczego, gdy pojawią się nowe artykuły, wyniki eksperymentów lub kontrprzykłady.
  • 100hypothesis
    Tworzy falsyfikowalne hipotezy badawcze z notatek i dokumentów, gdy potrzebny jest ustrukturyzowany wynik.
  • 100brainstorm
    Tworzy i szereguje hipotezy badawcze na podstawie bieżących ustaleń, po formalizacji lub między partiami badań.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.