audio-generation
Guide to audio generation and understanding in MassGen. Covers text-to-speech, music, sound…
This skill provides symbol-level code understanding and navigation using Language Server Protocol (LSP). Enables IDE-like capabilities for finding symbols, tracking references, and making precise code edits at the symbol level.
$ npx -y skills add massgen/massgen --skill serena --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/serenaContext preview
The summary Claude sees to decide when to auto-load this skill.
This skill provides symbol-level code understanding and navigation using Language Server Protocol (LSP). Enables IDE-like capabilities for finding symbols, tracking references, and making precise code edits at the symbol level.
name: serena description: This skill provides symbol-level code understanding and navigation using Language Server Protocol (LSP). Enables IDE-like capabilities for finding symbols, tracking references, and making precise code edits at the symbol level. license: MIT
Navigate and manipulate code at the symbol level using IDE-like semantic analysis powered by Language Server Protocol (LSP).
You may have Serena available in one or both of these ways:
**Option 1: Direct MCP Tools** (if configured by your orchestrator) Check your available tools for:
If you see these tools, use them directly - they provide full Serena capabilities!
**Option 2: CLI Commands** (always available via execute_command) You can run serena commands using:
execute_command("uvx --from git+https://github.com/oraios/serena serena <command>")This skill focuses on CLI usage patterns. If you have direct MCP tools, prefer those for better integration.
The serena skill provides access to Serena, a coding agent toolkit that transforms text-based LLMs into symbol-aware code agents. Unlike traditional text search (ripgrep) or structural search (ast-grep), Serena understands code semantics through LSP integration.
**Key capabilities:**
1. **Symbol Discovery**: Find classes, functions, variables, and types by name across 30+ languages 2. **Reference Tracking**: Discover all locations where a symbol is referenced or used 3. **Precise Editing**: Insert code at specific symbol locations with surgical precision
Serena operates at the **symbol level** rather than the text or syntax level, providing true IDE-like understanding of code structure, scope, and relationships.
Use the serena skill when you need symbol-level code understanding:
**Code Navigation:**
**Code Understanding:**
**Code Refactoring:**
**Choose serena over file-search (ripgrep/ast-grep) when:**
**Still use file-search when:**
Serena uses LSP servers for semantic analysis. Most common languages are supported out-of-the-box:
The LSP servers provide symbol information for the language you're working with.
Locate where a symbol is **defined** in your codebase.
**Note:** All examples below use the short form `serena <command>`. The full command is:
uvx --from git+https://github.com/oraios/serena serena <command>
# Find a class definition
execute_command("uvx --from git+https://github.com/oraios/serena serena find_symbol --name 'UserService' --type class")
# Find a function definition
execute_command("uvx --from git+https://github.com/oraios/serena serena find_symbol --name 'authenticate' --type function")
# Find a variable definition
execute_command("uvx --from git+https://github.com/oraios/serena serena find_symbol --name 'API_KEY' --type variable")**Use cases:**
**Output format:**
File: src/services/user_service.py Line: 42 Symbol: UserService (class) Context: class UserService(BaseService):
Discover **all locations** where a symbol is used, imported, or referenced.
# Find all usages of a class
execute_command("serena find_referencing_symbols --name 'UserService'")
# Find all call sites of a function
execute_command("serena find_referencing_symbols --name 'authenticate'")
# Find all reads/writes of a variable
execute_command("serena find_referencing_symbols --name 'API_KEY'")**Use cases:**
**Output format:**
Found 12 references to 'authenticate': 1. src/api/routes.py:34 authenticate(user_credentials) 2. src/middleware/auth.py:18 from services import authenticate 3. tests/test_auth.py:56 mock_authenticate = Mock(spec=authenticate) ...
Insert code at specific symbol locations with surgical precis
🚀 MassGen is an open-source multi-agent scaling system that runs in your terminal, autonomously orchestrating frontier models and agents to collaborate, reason, and produce high-quality results. | Join us on Discord: discord.massgen.ai
Guide to audio generation and understanding in MassGen. Covers text-to-speech, music, sound…
Complete guide for integrating a new LLM backend into MassGen. Use when adding a new provider…
Guide for creating evolving skills - detailed workflow plans that capture what you'll do,…
This skill should be used when agents need to search codebases for text patterns or…
Guide to image generation and editing in MassGen. Use when creating images, editing existing…
Guide for creating properly structured YAML configuration files for MassGen. This skill…