# accelerate-python-resolvers

Converts Python feature resolvers in Chalk codebases into native columnar expressions. It runs diagnostics and rewires unsupported operations to satisfy the static accelerator.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode · 838 installs
- Author: chalk-ai
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/chalk-ai/chalk-ai-plugins/tree/HEAD/plugins/chalk-accelerate/skills/accelerate-python-resolvers/SKILL.md
- Updated: 2026-09-15
- HTML: https://affpapa.org/en/nevibecode/skills/accelerate-python-resolvers

## What it does

Chalk optimizes Python resolvers by turning function bytecode into native columnar logic via symbolic execution. Functions must meet strict accelerator rules. The skill invokes `accelerator-diagnostics.py` inside a project containing `chalk.yaml` or `chalk.yml`. It parses reported errors and rewrites code.

Most issues come from nullable arguments. The skill inserts explicit checks with fallback values. When code calls libraries like `uuid`, it switches to supported modules like `hashlib`. Conditional variables get initial values before branching.

Broken imports exit immediately with code 2. Always run inside the virtual environment with `chalk` installed. Requests hit `https://accelerator.chalk.ai` by default, though local setups accept `--host http://127.0.0.1:8780`.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add chalk-ai/chalk-ai-plugins --skill accelerate-python-resolvers -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/accelerate-python-resolvers/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/accelerate-python-resolvers/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add chalk-ai/chalk-ai-plugins --skill accelerate-python-resolvers -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/accelerate-python-resolvers/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add chalk-ai/chalk-ai-plugins --skill accelerate-python-resolvers -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/accelerate-python-resolvers/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install chalk-ai/chalk-ai-plugins accelerate-python-resolvers
```

2. **Manually: put the files in place**
- File: `.github/skills/accelerate-python-resolvers/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add chalk-ai/chalk-ai-plugins --skill accelerate-python-resolvers -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/chalk-ai/chalk-ai-plugins --path plugins/chalk-accelerate/skills/accelerate-python-resolvers
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/accelerate-python-resolvers/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add chalk-ai/chalk-ai-plugins --skill accelerate-python-resolvers -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/chalk-ai/chalk-ai-plugins/tree/HEAD/plugins/chalk-accelerate/skills/accelerate-python-resolvers/SKILL.md

## When to use it
- fix static accelerator diagnostics in Chalk resolvers
- add null guards to nullable feature inputs
- replace unsupported imports with standard library equivalents
- initialize conditional variables before branching paths

## Example prompts
- Run `accelerator-diagnostics.py` and resolve any acceleration issues in my Chalk project
- Check why the `get_score` resolver cannot be accelerated statically
- Update nullable features in this resolver to pass Chalk static analysis

## Similar
- [xlsx](https://affpapa.org/en/nevibecode/skills/xlsx.md) — skill · 187223 installs
- [google-agents-cli-observability](https://affpapa.org/en/nevibecode/skills/google-agents-cli-observability.md) — skill · 511300 installs
- [caveman-evidence-review](https://affpapa.org/en/nevibecode/skills/caveman-evidence-review.md) — skill · 104500 installs
- [migration](https://affpapa.org/en/nevibecode/skills/migration.md) — skill · 103900 installs
- [performance-optimization](https://affpapa.org/en/nevibecode/skills/performance-optimization.md) — skill · 65200 installs
- [supabase](https://affpapa.org/en/nevibecode/skills/supabase.md) — skill · 8 installs

From the same set: [chalk-ai/chalk-ai-plugins](https://affpapa.org/en/nevibecode/by/chalk-ai/chalk-ai-plugins.md) — 4 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
