
Security News
US Government Forces Anthropic to Pull Claude Fable Days After Launch
Anthropic says the directive cited national security concerns over a narrow jailbreak, but offered no specific technical details.
Ship & Use AI-friendly package context.
ctxbrew is a CLI and protocol for shipping and consuming AI-friendly library context.
It helps:
ctxbrew.yaml, build context artifacts, and publish them with your package.ctxbrew, generate an agent skill, and let the LLM discover context from installed libraries.ctxbrew and create a config:npm install ctxbrew --save-dev
npx ctxbrew init
This creates ctxbrew.yaml.
ctxbrew.yaml and describe context slices.Each slice may cover one focused feature, workflow, or concept. Smaller slices help agents request only the context they need and keep token usage lower.
# Validate config and input files without writing artifacts.
npx ctxbrew build --check
# Generate ctxbrew/index.yaml and ctxbrew/<slice-id>.md files.
npx ctxbrew build
ctxbrew/ folder with your package.The exact setup depends on your release pipeline. You can see an example integration.
ctxbrew globally to use it across repositories:npm install -g ctxbrew
# Generate ctxbrew skills in supported agent locations.
ctxbrew setup
# OR print the skill markdown to stdout.
ctxbrew skill
# List packages with ctxbrew context in node_modules.
ctxbrew list
# List slices for one package.
ctxbrew list @org/library
# Read one slice.
ctxbrew get @org/library components
# Search slices by id and description.
ctxbrew search "dialog focus trap"
ctxbrew.yaml describes the context artifacts that will be generated into ctxbrew/.
version: 1
slices:
- id: overview
description: High-level architecture
include:
- README.md
- id: components
title: Components
description: UI components and usage
compress: true
include:
- src/components/**
- docs/components/**
version is required and currently must be 1.slices must contain at least one slice.id must be unique kebab-case.description is required and is used by ctxbrew search.include is required and must match at least one file during build.title is optional; when omitted, it is generated from id.compress is optional and defaults to false. When enabled, supported files are reduced to top-level signatures.ctxbrew init [--cwd <dir>] [--force]
ctxbrew build [--check] [--cwd <dir>]
ctxbrew list [package]
ctxbrew get <package> <slice>
ctxbrew search <query> [--limit <n>]
ctxbrew setup [--cwd <dir>]
ctxbrew skill
bun install
bun run dev -- --help
bun test
bun run typecheck
bun run build
This project is licensed under the MIT License.
FAQs
CLI for packaging docs/source into versioned context bundles for AI agents.
We found that ctxbrew 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
Anthropic says the directive cited national security concerns over a narrow jailbreak, but offered no specific technical details.

Security News
A network of 152 Chrome live wallpaper extensions hid ad tracking and made extension-driven traffic look like Google search clicks.

Company News
Socket’s first CISO brings deep experience securing high-growth SaaS companies as open source supply chain threats accelerate.