joaopauloctga / drop-context
Install and manage AI agent skills provided by Drop Context
Requires
- php: ^8.3
- composer-runtime-api: ^2.2
- ext-zip: *
- guzzlehttp/guzzle: ^7.0
- laravel/prompts: ^0.1.25 || ^0.2 || ^0.3
- symfony/config: ^7.0
- symfony/console: ^7.0
- symfony/dependency-injection: ^7.0
- symfony/filesystem: ^7.0
- symfony/yaml: ^7.0
README
Drop Context is a CLI for finding and installing AI agent skills from dropcontext.dev into your projects.
It supports Claude Code, Codex, Cursor, and other agents that use project-level skill directories.
$ drop-context skill:add dc-feeds
Installing skill 'dc-feeds'
Skill 'dc-feeds' installed for: .claude, .agents
Requirements
- PHP 8.3 or newer with
ext-zip - Composer
Installation
Install Drop Context globally:
composer global require "joaopauloctga/drop-context:^0"
Until the first tagged release is available, install the development branch instead:
composer global require "joaopauloctga/drop-context:dev-main"
Make sure Composer's global binary directory is in your PATH:
composer global config bin-dir --absolute
For example, on macOS or Linux:
export PATH="$(composer global config bin-dir --absolute):$PATH"
Confirm the installation:
drop-context --version
Getting started
Run commands from a project containing a composer.json. On the first command that changes the project, Drop Context asks which coding agents you want to manage.
drop-context skill:list drop-context skill:show dc-feeds drop-context skill:add dc-feeds drop-context skill:remove dc-feeds
Discovery commands such as skill:list, skill:show, skill:tags, and module:list can run from any directory.
Commands
| Command | Alias | Description |
|---|---|---|
skill:list |
s:list |
List and search available skills |
skill:show <skill> |
s:show |
Show details or content for a skill |
skill:add <skill> |
s:add |
Download and install a skill |
skill:remove <skill> |
s:rm |
Remove an installed skill |
skill:tags |
s:tags |
List tags available for filtering |
module:list [search] |
m:list, module:search |
Find Drupal modules with available skills |
code-agents:list |
ca:ls |
List configured coding agents |
code-agents:add <agent> |
ca:add |
Add a coding agent |
code-agents:remove <agent> |
ca:rm |
Remove a coding agent |
code-agents:set-preferable <agents> |
ca:set |
Replace the preferred coding agents |
Run drop-context <command> --help to see every argument and option.
Find skills
drop-context skill:list
drop-context skill:list --search=views
drop-context skill:list --module=feeds
drop-context skill:list --tag="AI Integration"
drop-context skill:list --type=contrib_module
Filters can be combined. Supported types are core_module, contrib_module, core_component, agent_skill, user_skill, and other.
Inspect a skill
drop-context skill:show dc-feeds drop-context skill:show dc-feeds --content
Skills can be selected by name or UUID. When a name is ambiguous, Drop Context offers matching suggestions.
Install a skill
drop-context skill:add dc-feeds drop-context skill:add dc-feeds --force
--force reinstalls an existing skill without confirmation. The skill is installed for the coding agents configured in the current project.
Remove a skill
drop-context skill:remove dc-feeds drop-context skill:remove dc-feeds --purge
--purge also removes the downloaded copy. Drop Context asks for confirmation before removing a skill it did not install; use --force only when you intend to remove it.
Browse tags and modules
drop-context skill:tags
drop-context module:list
drop-context module:list feed
drop-context module:list "exposed" --title
Configure coding agents
drop-context code-agents:list drop-context code-agents:add .cursor drop-context code-agents:remove .cursor drop-context code-agents:set-preferable .claude,.agents
Supported directories are .claude, .agents, .cursor, and .codex.
JSON output
Use --json for scripts and integrations:
drop-context skill:list --type=contrib_module --json | jq '.skills[].title' drop-context skill:show dc-feeds --json | jq '.references' drop-context skill:add dc-feeds --json drop-context skill:remove dc-feeds --json
Machine-readable JSON is written to stdout and commands return a non-zero exit code when they fail.
Updates
Update Drop Context with Composer:
composer global update joaopauloctga/drop-context
The CLI periodically notifies you when a newer stable version is available. Disable the check for a command with:
drop-context skill:list --no-update-check
License
Drop Context is open-source software licensed under the MIT License.