serena
Guide for using Serena effectively
Install / Use
npx skills add kargig/divemap --skill serenaInstalls into whichever agent you are using.
Gemini Rules
Gemini CLI config
Quality Score
Category
Development & EngineeringSupported Platforms
Tags
Our assessment of serena
serena scores 60/100 on our quality scale, 4075th of 4,622 Development & Engineering skills we index.
Its Gemini Rules is 3.1 KB long, split into 5 sections and no code examples: a solid amount of guidance for an agent.
It has no GitHub stars yet, so there is no community track record; judge it on its content.
Maintenance, license and trust
- The repository was last updated 9 days ago, so serena is actively maintained.
- No license is declared. By default that means all rights are reserved: you can read it, but reusing or redistributing it is not clearly permitted. Ask the author before building on it commercially.
- Its trust signals score 80/100, with 2 cautions from licensing, adoption, age or documentation. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.
serena compared with similar skills
All 4 of these similar skills score higher than serena; compare them before choosing.
| Skill | Score | Stars | Updated | Format |
|---|---|---|---|---|
| serena (this skill)by kargig | 60 | 0 | 9d ago | Gemini Rules |
| ai-job-searchby MadsLorentzen | 100 | 45.0k | today | CLAUDE.md |
| claude-howtoby luongnv89 | 100 | 41.8k | 5d ago | CLAUDE.md |
| algorithmic-artby anthropics | 100 | 177.9k | 13d ago | SKILL.md |
| interview-meby addyosmani | 100 | 98.8k | 12d ago | SKILL.md |
Frequently asked questions
- How do I install serena?
- Run
npx skills add kargig/divemap. The install tabs above show the steps for each supported agent. - Which AI agents does serena work with?
- It is written for Gemini CLI, as a Gemini Rules file. Other agents that read the same format can often use it too.
- Is serena safe to use?
- It declares no license and scores 80/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
- Is serena still maintained?
- The repository was last updated 9 days ago, so serena is actively maintained.
Skill content
View source on GitHubname: serena description: Guide for using Serena effectively. Use when performing complex coding tasks, understanding codebase architecture, or needing semantic code navigation and editing capabilities.
Serena Usage Guide
Serena is a powerful coding agent designed for resource-efficient, semantic code manipulation. It excels at understanding code structure without needing to read entire files, making it highly token-efficient for large codebases.
Core Philosophy: Token Efficiency & Semantic Understanding
Do not read entire files unless absolutely necessary.
Instead, use Serena's symbolic tools to:
- Survey: Get a high-level overview of a file's structure (
get_symbols_overview). - Target: Locate specific functions, classes, or methods (
find_symbol). - Contextualize: Understand how symbols are used (
find_referencing_symbols). - Edit: precise modifications at the symbol level (
replace_symbol_body) or file level (replace_content).
Workflow: The Serena Loop
- Onboard/Activate: Ensure the project is active (
activate_project) and onboarded (onboarding). Read project memories (read_memory) to get context. - Understand:
- Use
get_symbols_overviewto map out a file. - Use
find_symbolto locate specific definitions. - Use
find_referencing_symbolsto see usage patterns. - Use
grep_searchorfind_fileif you don't know the symbol name.
- Use
- Plan: Formulate a strategy based on the semantic understanding.
- Act:
- Symbolic Edit: Use
replace_symbol_bodyto rewrite a function/class entirely. This is safer for large changes. - Insertion: Use
insert_after_symbolorinsert_before_symbolto add new methods or classes. - File Edit: Use
replace_content(regex) for small tweaks inside a symbol or for non-code files.
- Symbolic Edit: Use
- Verify: Use tests (
run_shell_command) and linting to ensure correctness.
Tool Selection Guide
| Task | Recommended Tool | Why? |
| :--- | :--- | :--- |
| Understand a file | get_symbols_overview | Returns structure (classes, methods) without body content. Cheap & fast. |
| Read a specific function | find_symbol (include_body=True) | Returns only the code you need. |
| Find where a function is used | find_referencing_symbols | Returns locations and context of usage. Essential for refactoring. |
| Rename a class/function | rename_symbol | Semantic rename across the entire codebase. Safer than regex. |
| Rewrite a function | replace_symbol_body | Replaces the entire definition. Clean and less error-prone than regex. |
| Small fix inside a function | replace_content | Use regex/string replacement for minor edits. |
| Add a new method | insert_after_symbol | Inserts code cleanly after an existing symbol. |
| Search generally | grep_search | Find text patterns when symbol names are unknown. |
| Save project context | write_memory | Store important facts (tech stack, conventions) for future sessions. |
Advanced Usage
For complex refactoring or feature implementation workflows, see references/workflows.md.
Related Skills
ai-job-search
45.0kThe job search that runs on your machine. AI job application framework built on Claude Code: evaluate postings, tailor CVs, write cover letters, prep interviews. Fork it and own it.
claude-howto
41.8kA visual, example-driven guide to Claude Code — from basic concepts to advanced agents, with copy-paste templates that bring immediate value.
algorithmic-art
177.9kCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code, generative art, algorithmic art, flow fields, or particle systems.
interview-me
98.8kExtracts what the user actually wants instead of what they think they should want. Achieves this through one-question-at-a-time interview until ~95% confidence about the underlying intent
Trust signals
From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.
