
Security News
The Hidden Blast Radius of the Axios Compromise
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.
lc-dir
Advanced tools
Instantly copy all relevant Python files from any folder in your project to your clipboard—perfect for use with AI code assistants and LLMs.
When working with LLMs (like ChatGPT, Claude, or Copilot), you often need to share only part of your codebase—a single directory, a feature, or a component, not the whole repo.
lc-dir lets you do exactly that.
.py files under any directory (recursively) to your clipboard, ready for LLMs.first install llm-context CLI if you haven't already:
pipx install llm-context
Then, install lc-dir:
pipx install lc-dir
(or use pip install --user lc-dir if you prefer)
Requirements:
lc-init once per repo).Example: Copy all
.pyfiles from the current directory and below:
lc-dir
Example: Copy all
.pyfiles from a specific subdirectory (recursively):
lc-dir path/to/subdir
Example: Search for a folder by name, even if you’re not sure where it is:
lc-dir common
If more than one match is found, you’ll be prompted to choose.
Navigate anywhere in your project directory tree.
Run lc-dir [optional-subfolder]
Paste in your LLM interface.
llm-context but limited to your chosen scope.lc-init.pipx install lc-dir and check your Python version.MIT
Contributions and issues welcome!
FAQs
Copy all non-git-ignored files from any subdirectory into llm-context for LLM consumption
We found that lc-dir 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
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.

Research
A supply chain attack on Axios introduced a malicious dependency, plain-crypto-js@4.2.1, published minutes earlier and absent from the project’s GitHub releases.

Research
Malicious versions of the Telnyx Python SDK on PyPI delivered credential-stealing malware via a multi-stage supply chain attack.