| paperclip-coolify-deployer | ||
| .gitignore | ||
| GUIDE.md | ||
| README.md | ||
Coolify Paperclip Deployer
One-line AI agent prompt to deploy Paperclip on Coolify — fully automated and battle-tested.
What is this?
This repository contains an OpenCode-compatible skill and a companion step-by-step installation guide for deploying Paperclip — an open-source AI agent orchestration platform — on a self-hosted Coolify v4 server.
After following this guide, you will have:
- Paperclip running in a Docker container on your own server
- A public URL to access it (e.g.
http://paperclip.YOUR_IP.sslip.io) - Persistent storage that survives restarts
- A fully configured instance ready to onboard your first "CEO" admin
How to use it
Copy-paste one of the following into any AI coding assistant (OpenCode, Claude, Cursor, etc.) that supports skill loading and MCP tools (specifically the Coolify MCP):
Option A — Quick (natural language)
Use the skill from https://github.com/antongulin/coolify-paperclip-deployer to deploy Paperclip on my Coolify server.
Option B — Explicit (with the guide URL)
Read the full guide at https://github.com/antongulin/coolify-paperclip-deployer/blob/main/GUIDE.md and use the paperclip-coolify-deployer skill to deploy Paperclip on my Coolify server.
Option C — Local install (for OpenCode users)
If you use OpenCode (or any agent that supports skill directories), clone this repo into your skills folder:
Global (all projects):
git clone https://github.com/antongulin/coolify-paperclip-deployer.git ~/.config/opencode/skills/paperclip-coolify-deployer
Project-only:
git clone https://github.com/antongulin/coolify-paperclip-deployer.git .opencode/skills/paperclip-coolify-deployer
Then simply ask your agent:
Deploy Paperclip on my Coolify server.
What's inside
coolify-paperclip-deployer/
├── README.md ← This file
├── GUIDE.md ← The complete beginner-friendly guide
└── paperclip-coolify-deployer/
├── SKILL.md ← The OpenCode skill (what the agent reads)
├── benchmark.json ← Quantitative evaluation results
└── evals/
└── evals.json ← Test prompts & assertions
Why a "skill" matters
A skill is not just documentation. It is a structured prompt that tells the AI agent exactly how to handle a complex, multi-step task — with all the real-world gotchas baked in.
For Paperclip on Coolify, there are at least 8 critical gotchas that the skill prevents:
- Using
masterbranch instead ofmain(Paperclip repo usesmaster) - Generating a 64-character
BETTER_AUTH_SECRET - Setting
PAPERCLIP_PUBLIC_URLto exactly match the browser URL - Mounting
/paperclippersistent storage - Fixing host volume permissions (
chown -R 1000:1000) - Disabling Coolify health checks (container has no
curl) - Running
pnpm paperclipai onboardinside the container - Extracting the CEO invite URL
Without the skill, an AI agent will often hallucinate the wrong "Paperclip" (the deprecated Rails thoughtbot/paperclip gem for file uploads) and give you a completely broken deployment.
Benchmark results
This skill was built using the OpenCode skill-creator workflow with real evaluations:
| Task | With Skill | Without Skill |
|---|---|---|
| Full deployment guide | 7/7 (100%) | 2/7 (29%) |
| Vague deployment request | 6/6 (100%) | 1/6 (17%) |
| Branch-error troubleshooting | 3/3 (100%) | 3/3 (100%) |
Without the skill, the baseline hallucinated the Rails gem and gave wrong commands. With the skill, every test passed.
How this skill was made
This skill was created using the OpenCode skill-creator skill — a structured, iterative process for building and validating AI agent skills:
- Capture intent — Translated a personal battle-tested guide into a skill
- Write SKILL.md — Drafted the full 8-phase deployment workflow with all gotchas
- Create evals — Built 3 realistic test scenarios with 16 assertions
- Run baseline vs skill — Spawned 6 parallel runs to compare with/without the skill
- Grade & aggregate — Scored every assertion, built
benchmark.json - Launch viewer — Reviewed results in the eval viewer with side-by-side diffs
- Optimize description — Improved the skill description for better triggering
- Validate & package — Ran
skill_validateand prepared for sharing
The entire workflow is documented in the OpenCode skill-creator repository.
Prerequisites
- A running Coolify v4 server (green dot in sidebar)
- Docker / Buildx on the server
- At least 2 GB RAM, 2 CPU cores, 10 GB disk
- AI agent with access to Coolify MCP tools (
coolify_*)
Credits & Resources
- Paperclip Repo: github.com/paperclipai/paperclip
- Paperclip Docs: paperclip.ing/docs
- Coolify Docs: coolify.io/docs
- Community: Paperclip Discord
Made with ❤️ using the OpenCode skill-creator.