Quick Start
This chapter helps you get started with the DCP plugin from scratch. You'll learn how to install the plugin, verify its effects, and customize configurations according to your needs.
Chapter Contents
Installation & Quick Start
Complete DCP plugin installation in 5 minutes and see token savings immediately. Learn to use the /dcp command to monitor pruning statistics.
Configuration Guide
Master the three-level configuration system (global, environment variables, project-level), understand configuration priority, and adjust pruning strategies and protection mechanisms as needed.
Learning Path
Installation & Quick Start → Configuration Guide
↓ ↓
Plugin works Know how to tuneRecommended Order:
- First complete Installation & Quick Start: Ensure the plugin works properly and experience default pruning effects
- Then learn Configuration Guide: Customize pruning strategies according to project requirements
Beginner Advice
If this is your first time using DCP, we recommend running with the default configuration for a while, observing the pruning effects before adjusting the configuration.
Prerequisites
Before starting this chapter, please confirm:
- [x] OpenCode is installed (version with plugin support)
- [x] You understand basic JSONC syntax (JSON with comments)
- [x] You know how to edit OpenCode configuration files
Next Steps
After completing this chapter, you can continue learning:
- Auto-Pruning Strategies Explained: Deep dive into the working principles of deduplication, overwrite, and error clearing strategies
- LLM-Driven Pruning Tools: Understand how AI actively calls discard and extract tools to optimize context
- Slash Command Usage: Master the usage of /dcp context, /dcp stats, /dcp sweep, and other commands