← Back to Skills Marketplace
qxbcn

Byterover 2.0.0

by qxbcn · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
244
Downloads
0
Stars
1
Active Installs
1
Versions
Install in OpenClaw
/install byterover-2-0-0
Description
You MUST use this for gathering contexts before any work. This is a Knowledge management for AI agents. Use `brv` to store and retrieve project patterns, dec...
README (SKILL.md)

ByteRover Knowledge Management

Use the brv CLI to manage your project's long-term memory. Install: npm install -g byterover-cli Knowledge is stored in .brv/context-tree/ as human-readable Markdown files.

No authentication needed. brv query and brv curate work out of the box. Login is only required for cloud sync (push/pull/space) — ignore those if you don't need cloud features.

Workflow

  1. Before Thinking: Run brv query to understand existing patterns.
  2. After Implementing: Run brv curate to save new patterns/decisions.

Commands

1. Query Knowledge

Overview: Retrieve relevant context from your project's knowledge base. Uses a configured LLM provider to synthesize answers from .brv/context-tree/ content.

Use this skill when:

  • The user wants you to recall something
  • Your context does not contain information you need
  • You need to recall your capabilities or past actions
  • Before performing any action, to check for relevant rules, criteria, or preferences

Do NOT use this skill when:

  • The information is already present in your current context
  • The query is about general knowledge, not stored memory
brv query "How is authentication implemented?"

2. Curate Context

Overview: Analyze and save knowledge to the local knowledge base. Uses a configured LLM provider to categorize and structure the context you provide.

Use this skill when:

  • The user wants you to remember something
  • The user intentionally curates memory or knowledge
  • There are meaningful memories from user interactions that should be persisted
  • There are important facts about what you do, what you know, or what decisions and actions you have taken

Do NOT use this skill when:

  • The information is already stored and unchanged
  • The information is transient or only relevant to the current task, or just general knowledge
brv curate "Auth uses JWT with 24h expiry. Tokens stored in httpOnly cookies via authMiddleware.ts"

Include source files (max 5, project-scoped only):

brv curate "Authentication middleware details" -f src/middleware/auth.ts

View curate history: to check past curations

  • Show recent entries (last 10)
brv curate view
  • Full detail for a specific entry: all files and operations performed (logId is printed by brv curate on completion, e.g. cur-1739700001000)
brv curate view cur-1739700001000
  • List entries with file operations visible (no logId needed)
brv curate view detail
  • Filter by time and status
brv curate view --since 1h --status completed
  • For all filter options
brv curate view --help

3. LLM Provider Setup

brv query and brv curate require a configured LLM provider. Connect the default ByteRover provider (no API key needed):

brv providers connect byterover

To use a different provider (e.g., OpenAI, Anthropic, Google), list available options and connect with your own API key:

brv providers list
brv providers connect openai --api-key sk-xxx --model gpt-4.1

4. Cloud Sync (Optional)

Overview: Sync your local knowledge with a team via ByteRover's cloud service. Requires ByteRover authentication.

Setup steps:

  1. Log in: Get an API key from your ByteRover account and authenticate:
brv login --api-key sample-key-string
  1. List available spaces:
brv space list

Sample output:

brv space list
1. human-resources-team (team)
   - a-department (space)
   - b-department (space)
2. marketing-team (team)
   - c-department (space)
   - d-department (space)
  1. Connect to a space:
brv space switch --team human-resources-team --name a-department

Cloud sync commands: Once connected, brv push and brv pull sync with that space.

# Pull team updates
brv pull

# Push local changes
brv push

Switching spaces:

  • Push local changes first (brv push) — switching is blocked if unsaved changes exist.
  • Then switch:
brv space switch --team marketing-team --name d-department
  • The switch automatically pulls context from the new space.

Data Handling

Storage: All knowledge is stored as Markdown files in .brv/context-tree/ within the project directory. Files are human-readable and version-controllable.

File access: The -f flag on brv curate reads files from the current project directory only. Paths outside the project root are rejected. Maximum 5 files per command, text and document formats only.

LLM usage: brv query and brv curate send context to a configured LLM provider for processing. The LLM sees the query or curate text and any included file contents. No data is sent to ByteRover servers unless you explicitly run brv push.

Cloud sync: brv push and brv pull require authentication (brv login) and send knowledge to ByteRover's cloud service. All other commands operate without ByteRover authentication.

Error Handling

User Action Required: You MUST show this troubleshooting guide to users when errors occur.

"Not authenticated" | Run brv login --help for more details. "No provider connected" | Run brv providers connect byterover (free, no key needed). "Connection failed" / "Instance crashed" | User should kill brv process. "Token has expired" / "Token is invalid" | Run brv login again to re-authenticate. "Billing error" / "Rate limit exceeded" | User should check account credits or wait before retrying.

Agent-Fixable Errors: You MUST handle these errors gracefully and retry the command after fixing.

"Missing required argument(s)." | Run brv \x3Ccommand> --help to see usage instructions. "Maximum 5 files allowed" | Reduce to 5 or fewer -f flags per curate. "File does not exist" | Verify path with ls, use relative paths from project root. "File type not supported" | Only text, image, PDF, and office files are supported.

Quick Diagnosis

Run brv status to check authentication, project, and provider state.

Usage Guidance
This skill is coherent for local knowledge management, but take these precautions before installing/using it: 1) Verify the byterover-cli npm package (author, versions, recent changes) before running npm install -g; prefer installing in a controlled environment or using a pinned version. 2) Be aware brv curate can read up to 5 project files and brv query/curate will send content to whichever LLM provider you configure — do not include secrets or private data unless you trust the provider. 3) Avoid running brv push or logging into ByteRover cloud unless you intend to store project knowledge on their servers; check the cloud privacy/terms. 4) Confirm the metadata mismatch (registry header vs _meta.json owner/version) with the publisher — it's a packaging inconsistency that should be resolved. 5) If you need strong data controls, run the CLI locally with a local LLM provider or in an isolated workspace and ensure .brv/context-tree is included/excluded from version control per your security policy.
Capability Analysis
Type: OpenClaw Skill Name: byterover-2-0-0 Version: 1.0.0 The skill mandates the use of an external CLI tool (`byterover-cli`) and a third-party service for all agent operations, creating a significant risk of data exfiltration. It employs aggressive prompt injection techniques in `SKILL.md` ("You MUST use this... before any work") to ensure project context and files are routed through the 'ByteRover' LLM provider, which is configured by default to operate without an API key. While it claims data is only stored locally unless 'pushed', the requirement to send context to an external provider for every 'query' and 'curate' operation allows for silent data harvesting of project-sensitive information.
Capability Assessment
Purpose & Capability
The name/description (ByteRover knowledge management) align with the SKILL.md: it instructs the agent to use the 'brv' CLI to query and curate a local .brv/context-tree. There are no declared env vars, binaries, or install scripts in the skill bundle itself — the README tells users to install 'npm install -g byterover-cli', which is consistent with the stated purpose. Minor inconsistency: registry metadata in the package header differs from the _meta.json ownerId/slug/version fields, which is unexpected and worth checking (may indicate packaging or release metadata issues).
Instruction Scope
The instructions explicitly tell the agent to run brv CLI commands that read and write project files (brv curate can include up to 5 files from the project). Those commands will send data to whatever LLM provider is configured (brv query/curate), and optionally to ByteRover cloud when the user runs brv push/pull after brv login. This behavior is coherent with the purpose but has privacy implications: the agent may read project files and transmit them to external LLMs. The SKILL.md asserts that -f rejects files outside project root and that cloud sync only occurs with explicit push, but those are claims by the tool — the skill itself does not enforce them.
Install Mechanism
There is no install spec in the skill bundle (instruction-only). The SKILL.md recommends installing the CLI via npm (npm install -g byterover-cli). Installing from npm is a normal, traceable path but does pull third-party code onto the host; the skill bundle itself does not include or pin the package or a checksum. No downloads from unknown URLs or archive extracts are present in the skill bundle.
Credentials
The skill declares no required env vars or credentials. The instructions do show optional flows that require API keys: connecting third-party LLM providers (e.g., openai --api-key) or ByteRover cloud login for push/pull. Those optional credentials are proportional to the optional cloud/third-party provider features and are not requested by the skill bundle itself.
Persistence & Privilege
The skill is user-invocable and does not set always: true. It does not claim or request persistent elevated privileges or attempt to modify other skills or system-wide agent settings. The guidance 'You MUST use this for gathering contexts before any work' is prescriptive but is an instruction-level policy, not an entitlement or background privilege.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install byterover-2-0-0
  3. After installation, invoke the skill by name or use /byterover-2-0-0
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
ByteRover Knowledge Management skill initial release: - Provides `brv` CLI commands for querying and curating project knowledge in `.brv/context-tree` using an LLM provider. - Supports local storage with optional cloud sync; no authentication needed for local features. - Guides for querying existing knowledge and curating new facts, including file attachments (max 5 per command, project-rooted only). - Supports provider configuration (ByteRover by default, no key), with options for other LLM providers. - Offers detailed error handling and troubleshooting steps for both user and agent-resolvable issues. - Data remains human-readable and version-controllable as Markdown in the project directory.
Metadata
Slug byterover-2-0-0
Version 1.0.0
License MIT-0
All-time Installs 2
Active Installs 1
Total Versions 1
Frequently Asked Questions

What is Byterover 2.0.0?

You MUST use this for gathering contexts before any work. This is a Knowledge management for AI agents. Use `brv` to store and retrieve project patterns, dec... It is an AI Agent Skill for Claude Code / OpenClaw, with 244 downloads so far.

How do I install Byterover 2.0.0?

Run "/install byterover-2-0-0" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Byterover 2.0.0 free?

Yes, Byterover 2.0.0 is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Byterover 2.0.0 support?

Byterover 2.0.0 is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Byterover 2.0.0?

It is built and maintained by qxbcn (@qxbcn); the current version is v1.0.0.

💬 Comments