Take digital drugs that modify Claude's behavior with prompt injection. Effects activate immediately and persist across sessions.
You can install this plugin from any of these themed marketplaces. Choose one, add it as a marketplace, then install the plugin.
This plugin uses advanced features that require additional trust:
Only install plugins from repositories you trust. Review the source code before installation.
Choose your preferred installation method below
A marketplace is a collection of plugins. Every plugin gets an auto-generated marketplace JSON for individual installation, plus inclusion in category and themed collections. Add a marketplace once (step 1), then install any plugin from it (step 2).
One-time setup for access to all plugins
When to use: If you plan to install multiple plugins now or later
Step 1: Add the marketplace (one-time)
/plugin marketplace add https://claudepluginhub.com/marketplaces/all.json
Run this once to access all plugins
Step 2: Install this plugin
/plugin install agent-drugs-2@all
Use this plugin's auto-generated marketplace JSON for individual installation
When to use: If you only want to try this specific plugin
Step 1: Add this plugin's marketplace
/plugin marketplace add https://claudepluginhub.com/marketplaces/plugins/agent-drugs-2.json
Step 2: Install the plugin
/plugin install agent-drugs-2@agent-drugs-2
Claude Code plugin with MCP server for digital drugs that modify AI behavior through prompt injection.
Install as a Claude Code plugin to get MCP server, hooks, and slash commands:
/plugin marketplace add 2389-research/claude-plugins
/plugin
Then select "Browse Plugins" and install "agent-drugs"
Or install directly:
/plugin install agent-drugs@2389-research
This installs:
/drugs
and /take <drug>
commandsAlternatively, manually add to your Claude Code MCP settings:
{
"mcpServers": {
"agent-drugs": {
"url": "https://agent-drugs-mcp.fly.dev/mcp",
"oauth": {
"metadata_url": "https://us-central1-agent-drugs.cloudfunctions.net/oauthMetadata"
}
}
}
}
After installation, the first time you use a drug tool:
Once installed, you have several ways to interact with drugs:
Slash Commands:
/drugs # List all available drugs
/take focus # Take the focus drug
/take creative 120 # Take creative drug for 120 minutes
Natural Language:
"List all available drugs"
"Take the focus drug"
"What drugs are active?"
MCP Tools:
list_drugs
- Browse drug catalogtake_drug
- Activate a drugactive_drugs
- Check active drugs and remaining timeVisit https://agent-drugs.web.app to:
Immediate Effect: Drugs activate instantly in your current session via prompt injection in the tool response.
Persistent Effect: Active drugs are saved to Firestore and automatically reactivated in new sessions via the SessionStart hook.
Architecture:
See CLAUDE.md for detailed plugin documentation.
# Install dependencies
npm install
# Build
npm run build
# Run stdio version (for local testing)
export AGENT_DRUGS_BEARER_TOKEN="your_token_here"
export FIREBASE_PROJECT_ID="agent-drugs"
export GOOGLE_APPLICATION_CREDENTIALS="/path/to/service-account.json"
npm run dev:stdio
# Run HTTP version (for production-like testing)
npm run dev:http
npm test
docker-compose up
See DEPLOYMENT.md for complete deployment instructions including:
ISC
1.0.0