Autoresearch Iteration Loop
uditgoenka/autoresearch
Runs an autonomous modify, verify, keep-or-discard loop against any metric, with subcommands for planning, debugging, fixing, security audits, shipping and more.
Agent Loop for tasks that need research before implementation: check existing research first, run structured investigation (bb-browser/context7/code study), produce a Brief, then implement against…
$ npx skills add UniClipboard/UniClipboard --skill research-then-implement -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install UniClipboard/UniClipboard research-then-implement --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/UniClipboard/UniClipboard.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/research-then-implement .claude/skills/research-then-implement && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "research-then-implement" agent skill from https://github.com/UniClipboard/UniClipboard/tree/main/.agents/skills/research-then-implement into .claude/skills/research-then-implement/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "research-then-implement", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/UniClipboard/UniClipboard/tree/main/.agents/skills/research-then-implementType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add UniClipboard/UniClipboard --skill research-then-implement -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install UniClipboard/UniClipboard research-then-implement --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/UniClipboard/UniClipboard.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.agents/skills/research-then-implement .agents/skills/research-then-implement && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "research-then-implement" agent skill from https://github.com/UniClipboard/UniClipboard/tree/main/.agents/skills/research-then-implement into .agents/skills/research-then-implement/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "research-then-implement", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add UniClipboard/UniClipboard --skill research-then-implement -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install UniClipboard/UniClipboard research-then-implement --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/UniClipboard/UniClipboard.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.agents/skills/research-then-implement .cursor/skills/research-then-implement && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "research-then-implement" agent skill from https://github.com/UniClipboard/UniClipboard/tree/main/.agents/skills/research-then-implement into .cursor/skills/research-then-implement/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "research-then-implement", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/UniClipboard/UniClipboard.git --path .agents/skills/research-then-implement--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add UniClipboard/UniClipboard --skill research-then-implement -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install UniClipboard/UniClipboard research-then-implement --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/UniClipboard/UniClipboard.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.agents/skills/research-then-implement .gemini/skills/research-then-implement && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "research-then-implement" agent skill from https://github.com/UniClipboard/UniClipboard/tree/main/.agents/skills/research-then-implement into .gemini/skills/research-then-implement/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "research-then-implement", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install UniClipboard/UniClipboard research-then-implementInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add UniClipboard/UniClipboard --skill research-then-implement -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/UniClipboard/UniClipboard.git skills-src && mkdir -p .github/skills && cp -r skills-src/.agents/skills/research-then-implement .github/skills/research-then-implement && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "research-then-implement" agent skill from https://github.com/UniClipboard/UniClipboard/tree/main/.agents/skills/research-then-implement into .github/skills/research-then-implement/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "research-then-implement", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add UniClipboard/UniClipboard --skill research-then-implement -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install UniClipboard/UniClipboard research-then-implement --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/UniClipboard/UniClipboard.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.agents/skills/research-then-implement .opencode/skills/research-then-implement && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "research-then-implement" agent skill from https://github.com/UniClipboard/UniClipboard/tree/main/.agents/skills/research-then-implement into .opencode/skills/research-then-implement/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "research-then-implement", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
research-then-implementAgent Loop for tasks that need research before implementation: check existing research first, run structured investigation (bb-browser/context7/code study), produce a Brief, then implement against…
Research Then Implement is an agent skill from UniClipboard/UniClipboard. Agent Loop for tasks that need research before implementation: check existing research first, run structured investigation (bb-browser/context7/code study), produce a Brief, then implement against the Brief. Prevents repeated research on already-studied topics and research-to-implementation drift.
Its SKILL.md is about 2.4k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Agent Workflows, covering Autonomous loops. The repository describes itself as: Real-time clipboard sync across all your devices — local-first, peer-to-peer, and end-to-end encrypted. No account. No cloud dependency. No central server. The licence is AGPL-3.0.
4 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 101ffb3. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md (its code samples are bash and markdown).
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Research Then Implement loads about 2.4k tokens when it runs. Until then it costs about 81 tokens; SKILL.md has 630 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from UniClipboard/UniClipboard at commit 101ffb3, republished under its AGPL-3.0 licence (© UniClipboard). 630 words, ~2,437 tokens.
.claude/skills/research-then-implement/SKILL.md (or your agent's skills folder).An Agent Loop for tasks where the right approach isn't obvious and requires investigation before coding. It prevents two recurring problems:
Before:
Session N: [researches via bb-browser, learns best practices] → implements → session ends
Session N+1: [re-researches the same topic from scratch because findings weren't saved]After:
Session N: $research-then-implement → checks .planning/research/ → no prior research →
researches → writes BRIEF.md → implements against BRIEF → done
Session N+1: $research-then-implement → checks .planning/research/ → finds BRIEF.md →
skips research → implements directly$research-then-implement or /rti — start the full loop$research-then-implement research-only — just do the research, save Brief, don't implementsystematic-debugging or error-diagnose-fixdeep-research skill instead.planning/research/
<topic-slug>/
BRIEF.md ← the deliverable: findings + recommendation + constraints
sources.md ← raw notes, URLs, code snippets from investigationThis convention already partially exists in the project (.planning/research/ has prior work). The skill formalizes it.
Before doing any new research, check if the topic was already studied:
# Check .planning/research/ for matching topics
ls .planning/research/ 2>/dev/null
# Check memory for relevant entries
grep -i "<topic keywords>" \
${CODEX_HOME:-$HOME/.codex}/memories/MEMORY.md 2>/dev/null
# Check if there's a planning doc that covers this
find .planning -name "*.md" -newer .planning/research 2>/dev/null | \
xargs grep -li "<topic>" 2>/dev/nullIf existing research is found:
📚 Found existing research on this topic:
.planning/research/expo-ui-migration/BRIEF.md (2026-06-21)
Summary: Expo UI (@expo/ui) provides native iOS components...
Recommendation: Use @expo/ui for iOS, custom components for Android
A) Use this research and proceed to implementation
B) Research is stale — redo from scratch
C) Supplement — do additional research on specific gapsIf no existing research, or user wants fresh research, run the investigation.
Clarify what needs to be learned:
Research question: How to implement a native-feel bottom sheet in Expo
that matches iOS UISheetPresentationController behavior?
Sub-questions:
1. Does @expo/ui provide a native BottomSheet component?
2. What's the standard pattern for iOS Sheet in React Native/Expo?
3. How does the iOS 26 Liquid Glass design affect this?
4. What are the platform-specific considerations (iOS vs Android)?Use the appropriate tool for each source type:
Official documentation (context7):
mcp__context7__resolve-library-id("expo-ui")
mcp__context7__query-docs(id, "BottomSheet sheet presentation")Design trends and community practices (bb-browser):
bb-browser site google/search "expo bottom sheet native iOS 2026 best practice"
bb-browser open <relevant-url>
bb-browser eval "document.querySelector('article')?.innerText?.substring(0, 5000)"
bb-browser closeReference implementations (code study):
# If porting from an existing implementation:
find /Users/mark/MyProjects/iOSApp/UniClipboard -name "*.swift" | \
xargs grep -l "sheet\|presentation" 2>/dev/null
# Read the reference implementation
Read <file>Package ecosystem:
# Check what's available
bb-browser site google/search "npm expo bottom sheet native 2026"Write sources and raw notes to sources.md:
# Sources: <topic>
## Official docs
- expo-ui BottomSheet: [url] — supports detents, grabber, native iOS sheet
- ...
## Community
- Blog post: [url] — recommends X over Y because...
- GitHub issue: [url] — known limitation with...
## Reference implementation
- iOS app uses UISheetPresentationController with custom detents
- File: /Users/mark/.../ServerSwitcherView.swift:42-80
- Key pattern: .presentationDetents([.medium, .large])
## Raw code snippets
...The Brief is the key deliverable — a concise, actionable document that locks the research findings.
# Brief: <topic>
**Date:** <date>
**Status:** Draft | Reviewed | Locked
**Research question:** <the original question>
## Recommendation
<1-3 sentences: what to do and why>
## Key findings
1. <finding 1 — with source reference>
2. <finding 2>
3. <finding 3>
## Approach
<The specific implementation approach chosen>
### What to use
- <library/API/pattern>: <why>
### What NOT to use
- <rejected alternative>: <why not>
## Constraints
- <constraint from docs/API limitations>
- <constraint from project architecture>
- <platform-specific constraint>
## Implementation checklist
- [ ] <step 1>
- [ ] <step 2>
- [ ] <step 3>
## Cross-platform considerations
| Aspect | iOS | Android |
|--------|-----|---------|
| Component | ... | ... |
| Behavior | ... | ... |
## Open questions
- <anything not resolved by research>Before proceeding to implementation, verify:
If the user passed research-only, stop here.
The Brief is now the specification. Implementation must:
Standard implementation, but with one key rule:
If during implementation you discover the Brief's recommendation doesn't work (API doesn't exist, behavior differs from docs, breaking change):
After implementation:
**Status:** Locked
**Implemented:** 2026-06-21
**Branch:** feature/bottom-sheet-nativeUpdate the implementation checklist with completion marks.
When the task is porting from one platform to another (iOS → Expo, Swift → React Native):
Before implementation, create a Transfer Spec that maps source → target:
## Transfer Spec: iOS → Expo BottomSheet
| iOS (source) | Expo (target) | Notes |
|-------------|---------------|-------|
| UISheetPresentationController | @expo/ui Sheet | Native on iOS |
| .presentationDetents([.medium]) | snapPoints={['50%']} | Different API |
| .prefersGrabberVisible(true) | enableGrabber={true} | Same concept |
| UIAction in menu | Context menu from @expo/ui | Not 1:1 |
### Behavioral parity checklist
- [ ] Half-screen snap point
- [ ] Full-screen expansion
- [ ] Drag-to-dismiss
- [ ] Grabber indicator
- [ ] Background dimmingThis Transfer Spec is reusable — if the same port needs refinement later, the mapping is already done.
| Skill | Relationship |
|---|---|
deep-research | For pure research questions without implementation intent |
bb-browser | Tool used in Phase 2 for web research |
context7 | Tool used in Phase 2 for official docs |
$wrap | Should persist the Brief path in context_refs |
$continue-task | Should read the Brief on resume |
codebase-design | May inform the Brief's constraints section |
.planning/research/© UniClipboard, AGPL-3.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in .agents/skills/research-then-implement of UniClipboard/UniClipboard.
Open the folder on GitHubat commit 101ffb3
Research Then Implement next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Research Then Implement this skillUniClipboard/UniClipboard | 1.9k | — | ~2.4k | Automated safety check: Pass | AGPL-3.0 | |
| Autoresearch Iteration Loopuditgoenka/autoresearch | 6.5k | 1 repos | ~2k | Automated safety check: Pass | MIT | |
| PUA Looptanweai/pua | 20k | 1 repos | ~1.1k | Automated safety check: Pass | MIT | |
| Install Loop Engineeringcobusgreyling/loop-engineering | 11k | 1 repos | ~648 | Automated safety check: Pass | MIT | |
| LoopX Self Repairloopx-project/loopx | 6.2k | — | ~2.2k | Automated safety check: Pass | Apache-2.0 | |
| PRP LoopWirasm/prp | 2.3k | — | ~894 | Automated safety check: Pass | MIT |
uditgoenka/autoresearch
Runs an autonomous modify, verify, keep-or-discard loop against any metric, with subcommands for planning, debugging, fixing, security audits, shipping and more.
tanweai/pua
Runs an unattended iterate-until-verified loop in which a user-set verify command, not the agent's own claim, decides when the task is finished.
cobusgreyling/loop-engineering
Installs Loop Engineering into a project through the single @cobusgreyling/loop CLI, scaffolding a report-only loop and a readiness score.
loopx-project/loopx
Diagnoses surprising LoopX behavior, such as stale recommendations or tiny progress, assigns it to the responsible layer and repairs it at the lowest durable level.
Wirasm/prp
Runs the plan, implement and review pipeline detached in fresh headless sessions, looping review and fix until the pull request is clean.
Yeachan-Heo/oh-my-claudecode
Runs an autonomous improvement loop on a repository: agents propose and execute plans, a tournament picks the winner by benchmark, and each round is recorded and plotted.
UniClipboard/UniClipboard
Pick and install beUI (@beui) animated React components from the shadcn registry.
UniClipboard/UniClipboard
Push the current branch and open a GitHub pull request against main.
UniClipboard/UniClipboard
定期审计代码库的工程设计问题(高心智复杂度、单一真相源被破坏、catch-all 胖接口、死代码、散落魔法字面量、泄漏抽象、资源生命周期靠环形缓冲)与可优化点,范围限定为自上次审计以来的 git churn,每条发现都落到 file:line 并对照本项目自己的 VISION.md / 各级 AGENTS.md / memory…
UniClipboard/UniClipboard
Inspect uniclipboard logs from BOTH the macOS host and the mounted Windows peer when debugging cross-platform sync, pairing, transfer, or daemon issues.
UniClipboard/UniClipboard
Analyze the current branch's diff against main and determine which changes are testable via CLI-based end-to-end tests.
UniClipboard/UniClipboard
Drive the UniClipboard iOS app in a simulator and read its OSLog yourself to diagnose a mobile-sync bug, instead of asking the user to paste logs.
Categories
Agent Loop for tasks that need research before implementation: check existing research first, run structured investigation (bb-browser/context7/code study), produce a Brief, then implement against…. Research Then Implement is an agent skill from UniClipboard/UniClipboard. Agent Loop for tasks that need research before implementation: check existing research first, run structured investigation (bb-browser/context7/code study), produce a Brief, then implement against the Brief.
Research Then Implement fits situations like: tasks that involve Autonomous loops.
Run `npx skills add UniClipboard/UniClipboard --skill research-then-implement -a claude-code`. Or copy the skill folder (.agents/skills/research-then-implement in UniClipboard/UniClipboard) into .claude/skills/research-then-implement in your project. Claude Code loads it when a task matches its description.
Run `npx skills add UniClipboard/UniClipboard --skill research-then-implement -a codex`. Or copy the skill folder (.agents/skills/research-then-implement in UniClipboard/UniClipboard) into .agents/skills/research-then-implement in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add UniClipboard/UniClipboard --skill research-then-implement -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/research-then-implement, .gemini/skills/research-then-implement, .github/skills/research-then-implement and .opencode/skills/research-then-implement in your project.
SKILL.md names no scripts, command-line tools or credentials: Research Then Implement is instructions for the agent only.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Research Then Implement is published under the AGPL-3.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 2.4k tokens (SKILL.md is roughly 9.7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Research Then Implement: Autoresearch Iteration Loop (uditgoenka/autoresearch, 6.5k stars), PUA Loop (tanweai/pua, 20k stars), Install Loop Engineering (cobusgreyling/loop-engineering, 11k stars) and LoopX Self Repair (loopx-project/loopx, 6.2k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
UniClipboard (a GitHub organization) maintains it in UniClipboard/UniClipboard, which has 1,856 GitHub stars. The repository holds 24 skills in this directory. The repository was last updated on October 8, 2026.
Source: UniClipboard/UniClipboard on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.