Cctools
Tools for working with Claude Code
Install / Use
/learn @andreypopp/CctoolsQuality Score
Category
Development & EngineeringSupported Platforms
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 buffergC— 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 withgF
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 linesCCToolsCode(default:DiffText) — referenced code highlight
Related Skills
node-connect
349.0kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
109.4kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
349.0kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
349.0kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
