Cline stores shared configuration across a few well-known locations. The primary root is ~/.cline/, with structured app state under ~/.cline/data/:
~/.cline/ data/ settings/ providers.json # API keys and provider configuration global-settings.json # Global settings cline_mcp_settings.json # MCP settings teams/ # Team state sessions/ # One folder of messages per session db/ # SQLite databases (sessions.db, cron.db, ...) logs/ # CLI and hub logs rules/ # Global rules workflows/ # Global workflows hooks/ # Global hooks skills/ # Global skills agents/ # Global agent definitions plugins/ # Global plugins (.js, .ts) cron/ # Global cron specs
Additional global search paths supported by the code:
~/Documents/Cline/ Rules/ # Additional global rules Hooks/ # Additional global hooks Plugins/ # Additional global plugins Workflows/ # Additional global workflows
Project-level configuration lives in .cline/ at your repository root:
Global provider settings, global settings, and MCP settings are stored under ~/.cline/data/settings/.
Global rules, workflows, hooks, skills, agents, plugins, and cron specs resolve directly under ~/.cline/.
Rules, hooks, plugins, and workflows may also be discovered from ~/Documents/Cline/ for compatibility.
In a project, Cline also reads the older .clinerules/ layout (rules, plus its workflows/, skills/ and hooks/ folders), AGENTS.md at the project root, and skills in .agents/skills/. Globally, it also reads ~/.agents/AGENTS.md and skills in ~/.agents/skills/.