Development

python-support - Claude MCP Skill

Python-Specific Behavior

SEO Guide: Enhance your AI agent with the python-support tool. This Model Context Protocol (MCP) server allows Claude Desktop and other LLMs to python-specific behavior... Download and configure this skill to unlock new capabilities for your AI workflow.

🌟1 stars • 3 forks
📥0 downloads

Documentation

SKILL.md
# Python-Specific Behavior

## Class Display in search_module

For Python codebases, the `search_module` tool displays both module-level functions AND classes defined in the module.

### How It Works

The Python indexer creates separate searchable entities:

1. **Modules** (e.g., `cicada.git.history_analyzer`)
   - Contains module-level functions
   - Displays classes defined in the module
   - Each class shows: name, line number, public/private method counts

2. **Classes** (e.g., `HistoryAnalyzer`)
   - Indexed separately as module entries
   - Contains class methods
   - Has `parent_module` field linking to the module

### Example Output

```
cicada/git/history_analyzer.py:1
cicada.git.history_analyzer • 0 public • 0 private

**Classes:**
  • HistoryAnalyzer (line 17) • 3 public • 9 private
    Analyzes git history for files and functions.

Module-level: (none)
```

### Usage

Both approaches work for finding code:
- `search_module("cicada.git.history_analyzer")` → Shows module with classes
- `search_module("HistoryAnalyzer")` → Shows class with methods

**Implementation:** `cicada/languages/scip/converter.py`, `cicada/format/formatter.py`

## Configurable Import Detection

The SCIP converter has a configurable `import_search_lines` parameter that controls how many lines from the top of the file are scanned for import statements.

### Default Behavior

- Scans first **50 lines** for imports (increased from 15 in initial implementation)
- Configurable via `import_search_lines` parameter
- Prevents false positives by ignoring function calls deeper in the file

### Usage

```python
from cicada.languages.scip.converter import SCIPConverter

# Use default (50 lines)
converter = SCIPConverter()

# Increase for files with very large headers
converter = SCIPConverter(import_search_lines=100)

# Decrease for faster processing if all imports are early
converter = SCIPConverter(import_search_lines=25)
```

### Why This Matters

- Python files often have large module docstrings (10-30 lines)
- Copyright headers and license text can push imports down
- Without this limit, regular function calls would be misidentified as imports
- The configurable limit balances accuracy and flexibility

**Implementation:** `cicada/languages/scip/converter.py:19-42`, `tests/languages/scip/test_import_search_lines.py`

Signals

Avg rating0.0
Reviews0
Favorites0

Information

Repository
wende/cicada
Author
wende
Last Sync
1/20/2026
Repo Updated
1/17/2026
Created
1/18/2026

Reviews (0)

No reviews yet. Be the first to review this skill!

Related Skills

cursorrules

CrewAI Development Rules

43932Has guide

fastmcp-client-cli

Query and invoke tools on MCP servers using fastmcp list and fastmcp call. Use when you need to discover what tools a server offers, call tools, or integrate MCP servers into workflows.

25095

open-source

Documentation reference for writing Python code using the browser-use open-source library. Use this skill whenever the user needs help with Agent, Browser, or Tools configuration, is writing code that imports from browser_use, asks about @sandbox deployment, supported LLM models, Actor API, custom tools, lifecycle hooks, MCP server setup, or monitoring/observability with Laminar or OpenLIT. Also trigger for questions about browser-use installation, prompting strategies, or sensitive data handling. Do NOT use this for Cloud API/SDK usage or pricing — use the cloud skill instead. Do NOT use this for directly automating a browser via CLI commands — use the browser-use skill instead.

23280

cloud

Documentation reference for using Browser Use Cloud — the hosted API and SDK for browser automation. Use this skill whenever the user needs help with the Cloud REST API (v2 or v3), browser-use-sdk (Python or TypeScript), X-Browser-Use-API-Key authentication, cloud sessions, browser profiles, profile sync, CDP WebSocket connections, stealth browsers, residential proxies, CAPTCHA handling, webhooks, workspaces, skills marketplace, liveUrl streaming, pricing, or integration patterns (chat UI, subagent, adding browser tools to existing agents). Also trigger for questions about n8n/Make/Zapier integration, Playwright/ Puppeteer/Selenium on cloud infrastructure, or 1Password vault integration. Do NOT use this for the open-source Python library (Agent, Browser, Tools config) — use the open-source skill instead.

23280

Related Guides