
Security News
Packagist Urges Immediate Composer Update After GitHub Actions Token Leak
Packagist urges PHP projects to update Composer after a GitHub token format change exposed some GitHub Actions tokens in CI logs.
scriptmonkey
Advanced tools
A simple CLI utility for copying files and directory trees to clipboard for easy sharing with LLMs.
ScriptMonkey is a simple CLI utility that helps developers quickly copy files and directory structures to their clipboard in a formatted way. Perfect for sharing code context with LLMs, creating documentation, or getting help with your projects.
To install ScriptMonkey, simply run:
pip install scriptmonkey
Copy one or more files to your clipboard with clean formatting:
scriptmonkey --files path/to/file1.py path/to/file2.js
The files will be copied to your clipboard in this format:
- - - - - - - - - -
Here are some details about the project.
# path/to/file1.py
<content from file1.py>
- - - - - - - - - -
# path/to/file2.js
<content from file2.js>
- - - - - - - - - -
Generate and copy a clean directory tree structure:
scriptmonkey --tree
This creates an intelligent directory tree that:
node_modules, __pycache__, .git, etc.)*.log, *.pyc, .DS_Store, etc.)vendor/, build/ [...])target directoriesCombine file contents with directory structure:
scriptmonkey --files src/main.py src/utils.py --tree
This copies both the specified files and the directory tree to your clipboard, giving you complete context for sharing with LLMs or documentation.
ScriptMonkey uses intelligent filtering to show you only the important parts of your project:
Shallow Directories (shown but contents hidden):
node_modules, .git, build, dist__pycache__, .venv, vendortest, tests, assets, imgExcluded Files (completely hidden):
*.log, *.pyc, *.swp, .DS_Store*.class, *.o, *.dll, *.soSpecial Handling:
target/release directories show filtered contentsCopy a single Python file:
scriptmonkey --files main.py
Copy multiple configuration files:
scriptmonkey --files config.json requirements.txt .env.example
Just the directory tree:
scriptmonkey --tree
Everything together:
scriptmonkey --files src/*.py --tree
For users upgrading from ScriptMonkey 1.x: The scriptmonkey.run() function is still available but no longer provides error handling functionality. It exists only for backward compatibility and does nothing.
Version 2.0.0 - Simplified for focus and reliability. No more AI dependencies, just pure clipboard utility goodness! š
FAQs
A simple CLI utility for copying files and directory trees to clipboard for easy sharing with LLMs.
We found that scriptmonkey demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago.Ā It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Packagist urges PHP projects to update Composer after a GitHub token format change exposed some GitHub Actions tokens in CI logs.

Research
GemStuffer abuses RubyGems as an exfiltration channel, packaging scraped UK council portal data into junk gems published from new accounts.

Company News
Socket was named to the Rising in Cyber 2026 list, recognizing 30 private cybersecurity startups selected by CISOs and security executives.