agentleFS
vikas8520-codervikas8520-coder/nerve/skills/cli-contexts/SKILL.md

cli-contexts

Skill0 starsChanged 3 months agoMITView on GitHub

Manage context engineering configurations, RTK filter sets, and conversation sessions from the CLI. Apply context-relay settings and inspect active context pipelines.

  • Installs packages

3 other projects use a version of this, 3 of them edited.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

2 rules. 2 are common, 0 are distinctive, and 0 are very specific to this project.

  • 2

    Common

    Most of the 3 edited versions we read keep these.

  • 0

    Distinctive

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Common:

    Add a new context

    line 224
  2. Common:

    Import contexts from a JSON file

    line 316

“Common” is measured: kept by at least 6 in 10 of the 3 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md
<!-- generated by src/lib/agentSkills/generator.ts; manual edits will be overwritten -->

Overview

Manage context engineering configurations, RTK filter sets, and conversation sessions from the CLI. Apply context-relay settings and inspect active context pipelines.

Quick install

npm install -g nerve   # or: npx nerve
nerve --version

Subcommands

context-eng

Example:

nerve context-eng

context-eng analytics

Flags:

  • --period <p>

Example:

nerve context-eng analytics

context-eng caveman

Example:

nerve context-eng caveman

context-eng config

Example:

nerve context-eng config

context-eng show

Example:

nerve context-eng show

context-eng set

Flags:

  • --aggressiveness <n>
  • --max-shrink-pct <n>
  • --preserve-tags <list>

Example:

nerve context-eng set

context-eng rtk

Example:

nerve context-eng rtk

context-eng config

Example:

nerve context-eng config

context-eng show

Example:

nerve context-eng show

context-eng set

Flags:

  • --token-budget <n>
  • --reserve-pct <n>

Example:

nerve context-eng set

context-eng filters

Example:

nerve context-eng filters

context-eng list

Example:

nerve context-eng list

context-eng add

Flags:

  • --priority <n>
  • --action <a>

Example:

nerve context-eng add

context-eng remove <id>

Flags:

  • --yes

Example:

nerve context-eng remove <id>

context-eng test

Example:

nerve context-eng test

context-eng raw-output <id>

Example:

nerve context-eng raw-output <id>

context-eng combos

Example:

nerve context-eng combos

context-eng list

Example:

nerve context-eng list

context-eng get <id>

Example:

nerve context-eng get <id>

context-eng assignments <id>

Example:

nerve context-eng assignments <id>

contexts

Example:

nerve contexts

contexts list

List all contexts

Example:

nerve contexts list

contexts add <name>

Add a new context

Flags:

  • --api-key <k>
  • --api-key-stdin
  • --access-token <t>
  • --access-token-stdin
  • --scope <s>
  • --description <d>

Example:

nerve contexts add <name>

contexts use <name>

Switch active context

Example:

nerve contexts use <name>

contexts current

Show the active context (server, auth, scope)

Flags:

  • --name-only

Example:

nerve contexts current

contexts show <name>

Show context details

Example:

nerve contexts show <name>

contexts remove <name>

Remove a context

Flags:

  • --yes

Example:

nerve contexts remove <name>

contexts rename <old> <new>

Rename a context

Example:

nerve contexts rename <old> <new>

contexts export

Export contexts to JSON

Flags:

  • --out <path>
  • --no-secrets

Example:

nerve contexts export

contexts import <file>

Import contexts from a JSON file

Flags:

  • --merge

Example:

nerve contexts import <file>

sessions

Example:

nerve sessions

sessions list

Flags:

  • --user <u>
  • --kind <k>
  • --active
  • --limit <n>

Example:

nerve sessions list

sessions show <sessionId>

Example:

nerve sessions show <sessionId>

sessions expire <sessionId>

Flags:

  • --yes

Example:

nerve sessions expire <sessionId>

sessions expire-all

Flags:

  • --yes

Example:

nerve sessions expire-all

sessions current

Example:

nerve sessions current

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.