Chalk Labs
Need help deploying perf?
Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/maggit-perf
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/perf
What's inside
- Skill name
perf- Description
- Analyze and optimize code performance. Use when the user says /perf, asks about performance, wants to optimize slow code, profile a bottleneck, reduce memory usage, or improve response times. Triggers: perf, performance, slow, optimize, bottleneck, profile, memory, latency, throughput, speed up.
- License
- MIT
- Instructions
- 55 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# Performance Analyzer
Identify and resolve performance bottlenecks.
## Workflow
1. **Understand the problem:**
- What is slow? (startup, specific endpoint, rendering, query, build)
- What are the symptoms? (high latency, high CPU, high memory, timeouts)
- What is the target? (e.g., "under 200ms", "half the memory")
2. **Profile before optimizing:**
- Identify the hotspot. Never optimize blindly.
- Use language-appropriate profiling:
- **Python**: `cProfile`, `py-spy`, `memory_profiler`, `time.perf_counter`
- **Node.js**: `--prof`, `clinic.js`, `console.time`, `perf_hooks`
- **Go**: `pprof`, `go test -bench`
- **Rust**: `cargo bench`, `flamegraph`
- **General**: `time` command, `hyperfine` for benchmarks
3. **Analyze the code for common issues:**
### Common Performance Issues
| Category | What to look for |
|----------|-----------------|
| **Algorithm** | O(n^2) or worse where O(n log n) exists, unnecessary sorting |
| **Database** | N+1 queries, missing indexes, SELECT *, no pagination |
| **I/O** | Sequential where parallel is possible, no batching, no streaming |
| **Memory** | Large object copies, no generators/iterators, memory leaks, unbounded caches |
| **Caching** | Repeated expensive computations, no memoization, cache stampede |
| **Rendering** | Unnecessary re-renders, large DOM, no virtualization |
| **Network** | No compression, no connection pooling, chatty APIs |
| **Build** | No tree-shaking, large bundles, no code splitting |
4. **Propose fixes ranked by impact:**
- Estimate improvement for each fix.
- Start with the highest-impact, lowest-effort changes.
- Include before/after benchmarks when possible.
5. **Verify improvements:**
- Run benchmarks before and after.
- Check for regressions in correctness.
- Monitor for changes in memory usage.
## Guidelines
- Measure first, optimize second. Show numbers.
- The biggest gains are usually algorithmic, not micro-optimizations.
- Consider trade-offs: readability vs speed, memory vs CPU, latency vs throughput.
- Don't optimize code that runs rarely — focus on hot paths.
- Suggest caching strategies where appropriate but warn about invalidation complexity.
- For database issues, show the query plan (`EXPLAIN ANALYZE`).From maggit/claude-workspace, MIT.
More from maggit/claude-workspace
- 0.409score
adr
maggit
Create Architecture Decision Records (ADRs).
SkillDFreshness: DClaude Code +9 - 0.409score
apidoc
maggit
Generate API documentation from code.
SkillDFreshness: DClaude Code +9 - 0.409score
changelog
maggit
Generate a changelog from git history.
SkillDFreshness: DClaude Code +9 - 0.409score
completetodo
maggit
Mark TODO items as completed based on work done in the current session.
SkillDFreshness: DClaude Code +9 - 0.409score
createtodo
maggit
Create a TODO list in ContextDB/todos/.
SkillDFreshness: DClaude Code +9 - 0.409score
deadcode
maggit
Find and remove dead, unused, or unreachable code in a codebase.
SkillDFreshness: DClaude Code +9 - 0.409score
deps
maggit
Analyze, audit, and manage project dependencies.
SkillDFreshness: DClaude Code +9 - 0.409score
eng-spec
maggit
Generate an Engineering Specification.
SkillDFreshness: DClaude Code +9 - 0.409score
envcheck
maggit
Check environment setup, dependencies, and configuration for issues.
SkillDFreshness: DClaude Code +9 - 0.409score
explain
maggit
Explain code, architecture, or system behavior in detail.
SkillDFreshness: DClaude Code +9 - 0.409score
landing-page-copy
maggit
Write landing page copy.
SkillDFreshness: DClaude Code +9 - 0.409score
debug
maggit
Systematically debug issues in code.
SkillDFreshness: DClaude Code +9
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Feb 8, 2026 (8 months ago)
- Last release
- Feb 8, 2026 (8 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/maggit/claude-workspace
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from maggit
- 0.409score
apidoc
maggit
Generate API documentation from code.
SkillDFreshness: DClaude Code +9 - 0.409score
changelog
maggit
Generate a changelog from git history.
SkillDFreshness: DClaude Code +9 - 0.409score
completetodo
maggit
Mark TODO items as completed based on work done in the current session.
SkillDFreshness: DClaude Code +9 - 0.409score
createtodo
maggit
Create a TODO list in ContextDB/todos/.
SkillDFreshness: DClaude Code +9 - 0.409score
deadcode
maggit
Find and remove dead, unused, or unreachable code in a codebase.
SkillDFreshness: DClaude Code +9 - 0.409score
adr
maggit
Create Architecture Decision Records (ADRs).
SkillDFreshness: DClaude Code +9
Done for you
Rather not set it up yourself?
Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.
See how we build AI agents →Read the case studies
Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.
- launches shipped
- 50+
- launches shipped
- media placements
- 500+
- media placements
- founders on every account
- 2
- founders on every account
Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block
Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.
Get perf running in your business
Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.
Cite this page
perf skill. Agent Mart. https://agentmart.dev/skills/maggit-perf (last updated 2026-10-24)