AI skills
Configure and customize the AI expert panel behavior for generating responses.
Overview
Rebuttr uses OpenCode skills to define AI expert behaviors. Skills are configuration files that tell the AI how to analyze reviewer comments and generate appropriate responses. Each expert in the panel is defined by a skill file.
Default Skills
Rebuttr installs the following skills during setup:
Domain Expert
~/.config/opencode/skill/rebuttr-domain-expert.md
Analyzes comments for scientific accuracy, methodology concerns, and technical correctness. Provides domain-specific insights for crafting accurate responses.
Writing Specialist
~/.config/opencode/skill/rebuttr-writing-specialist.md
Focuses on clarity, academic tone, and effective communication. Ensures responses are well-structured and professionally written.
Reviewer Perspective
~/.config/opencode/skill/rebuttr-reviewer-perspective.md
Considers what reviewers and editors expect to see in a response. Helps anticipate follow-up questions and concerns.
Response Strategist
~/.config/opencode/skill/rebuttr-strategist.md
Advises on diplomatic approaches, tone, and strategy for addressing sensitive or critical feedback.
Skill File Structure
Skills are Markdown files with a specific structure:
Creating Custom Skills
Create your own skills to customize AI behavior for your field or preferences:
Step 1: Create the Skill File
Step 2: Define the Skill
Step 3: Register the Skill
Add your skill to the Rebuttr configuration:
Skill Configuration Options
Configure how skills are used in ~/.config/rebuttr/config.json:
| Option | Description | Default |
|---|---|---|
ai.expertPanel |
Array of skill names to use | All default skills |
ai.expertPanelSize |
Maximum experts per comment | 4 |
ai.skillDirectory |
Custom skill directory path | ~/.config/opencode/skill/ |
ai.parallelExperts |
Run experts in parallel | true |
Field-Specific Skills
Consider creating skills tailored to your research area:
- Clinical research: Focus on patient safety, ethics, and clinical significance
- Machine learning: Emphasize reproducibility, benchmarks, and fair comparisons
- Social sciences: Address validity, generalizability, and theoretical frameworks
- Environmental science: Consider ecological implications and uncertainty
Pro Tip
Share useful custom skills with your research group or lab. A shared skill directory can ensure consistent response quality across team members.
Disabling Skills
To disable specific skills or use fewer experts:
Debugging Skills
To see how skills are being used:
Skill Syntax
Skills must be valid Markdown files. Syntax errors may cause AI generation to fail. Test new skills on a single comment before using them broadly.
Next Steps
- AI features - How the expert panel works
- Configuration - All configuration options
- CLI reference - Command-line options