SkillAgentSearch skills...

Cctools

Tools for working with Claude Code

Install / Use

/learn @andreypopp/Cctools
About this skill

Quality Score

0/100

Supported Platforms

Claude Code
Claude Desktop

README

cctools

Neovim plugin and CLI tools for Claude Code. The tools and the plugin assume that there's a single Claude Code instance running within the tmux session.

CLI

cccode                      # Run Claude Code (--permission-mode acceptEdits --model opus)
ccsend "prompt"             # Send to Claude Code in tmux pane
echo "prompt" | ccsend      # Send via stdin

Neovim Plugin

{ "andreypopp/cctools" }    -- lazy.nvim

Commands

  • :CCSend <prompt> — send prompt to Claude Code
  • :CCAdd <prompt> — add prompt to **claude-code** staging buffer
  • :CC <prompt> — add prompt to **claude-code** staging buffer and switch to it
  • :CCSubmit — send **claude-code** buffer to Claude Code

All commands accept visual selection (:'<,'>CCSend ...). In this case comments will appear above the selected code as virtual lines.

Key Mappings

  • <leader>ac — prompt for CCSend
  • <leader>aa — prompt for CCAdd
  • <leader>as — submit staging buffer
  • gC — jump to comment for code under cursor
  • ]C / [C — next/prev comment

Staging Buffer (**claude-code**)

Compose multi-part prompts before sending:

:'<,'>CCAdd refactor this
:'<,'>CCAdd update tests
:CCSubmit
  • <leader><CR> submits from within buffer
  • References (file:start-end:) navigable with gF

Macros

Expanded automatically in prompts:

  • @file (@filename, @filepath) — git-relative or absolute path
  • @basename — filename only
:CCSend review @file    " → "review src/main.lua"

Highlight Groups

  • CCToolsComment (default: Comment) — virtual comment lines
  • CCToolsCode (default: DiffText) — referenced code highlight

Related Skills

View on GitHub
GitHub Stars8
CategoryDevelopment
Updated1mo ago
Forks2

Languages

Lua

Security Score

70/100

Audited on Mar 2, 2026

No findings