Skip to content
Back to skills

Neural Config

ASecurity

View and modify neural memory settings — indexing mode, exclusions, redaction patterns, and staleness thresholds.

  • 2 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added May 26, 2026
ai-agentspythonnodeapi

Works with

  • claude code
  • api
  • mcp

Security analysis

A100/100

Scanned May 27, 2026

npx -y skills add Yakoub-ai/neural-memory --skill neural-config --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Neural Config?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Neural Config
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/yakoub-ai-neural-config/badge)](https://www.skillsdirectory.com/skills/yakoub-ai-neural-config)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: neural-config
description: View and modify neural memory settings — indexing mode, exclusions, redaction patterns, and staleness thresholds.
---

# Neural Memory — Configuration

View and modify neural memory settings.

## Available actions

- **view**: Show current configuration as JSON
- **set_mode**: Change indexing mode
  - `ast_only` — Fast, local-only, no API cost. Uses AST heuristics for summaries.
  - `api_only` — Rich AI summaries via Claude. Sends code to API.
  - `both` — Heuristic base + API enrichment for important nodes (default).
- **add_exclude**: Add a glob pattern to exclude files (e.g., `**/tests/**`)
- **add_redaction_pattern**: Add a custom regex for secret detection
- **set_staleness_threshold**: How many commits behind before the agent warns you (default: 5)

## How to call

**Via MCP tool** (neural-memory configured as MCP server in Claude Code):
```json
Tool: neural_config
{ "action": "view" }
```
```json
{ "action": "set_mode", "value": "ast_only" }
```

**Via Python** (working directly in the project):
```python
import asyncio
from neural_memory.server import neural_config, ConfigInput

# View config
asyncio.run(neural_config(ConfigInput(action="view")))

# Set indexing mode
asyncio.run(neural_config(ConfigInput(action="set_mode", value="ast_only")))

# Add an exclusion pattern
asyncio.run(neural_config(ConfigInput(action="add_exclude", value="**/tests/**")))

# Set staleness threshold
asyncio.run(neural_config(ConfigInput(action="set_staleness_threshold", value="10")))
```

## Parameters
| Parameter | Type | Default | Description |
|-----------|------|---------|-------------|
| `project_root` | str | `"."` | Project root directory |
| `action` | str | `"view"` | One of: `view`, `set_mode`, `add_exclude`, `add_redaction_pattern`, `set_staleness_threshold` |
| `value` | str | None | Value for the action (required for all actions except `view`) |

## Data residency
If your code must stay local, use `set_mode` with `ast_only`. No code will leave your machine.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.