Skills DirectorySkills Directory
SkillsLearnSecurityCategoriesDocsCommunityBlog
Sign InSubmit Skill
Skills Directory

Security-tested agent skills for Claude, coding agents, and AI workflows.

Directory

  • Browse Skills
  • All Skills A–Z
  • Claude Skills
  • Claude Code Skills
  • Agent Skills
  • Categories
  • Submit a Skill

Learn

  • Learn Hub
  • Install Claude Skills
  • Write SKILL.md
  • Skills vs MCP
  • Directories Compared

Security

  • Security
  • Methodology
  • Secure Claude Skills
  • Security Badges

Company

  • About
  • Community
  • Blog
  • API Docs
  • Advertise

2026 Skills Directory. All rights reserved.

Back to skills

Swe Bench Grafema Experiments

BSecurity

SWE-bench pipeline for A/B testing Grafema with Claude Code. Use when: (1) running SWE-bench experiments, (2) comparing baseline vs grafema conditions, (3) evaluating results, (4) debugging container issues.

36 stars
0 votes
0 copies
0 views
Added 9/20/2026
datapythonbashnodedockertestingdebugging

Works with

claude codemcp

Security Analysis

B88/100
criticalAccesses sensitive system or user directories

Scanned 9/20/2026

Install to Claude Code

$npx -y skills add Disentinel/grafema --skill swe-bench-grafema-experiments --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Swe Bench Grafema Experiments?

Add the live security badge to your README — it updates automatically with every re-scan.

Security grade badge for Swe Bench Grafema Experiments
[![Security: B — Skills Directory](https://www.skillsdirectory.com/api/skills/disentinel-swe-bench-grafema-experiments/badge)](https://www.skillsdirectory.com/skills/disentinel-swe-bench-grafema-experiments)

More formats (shields.io, HTML) on the badges page.

Download Zip
Files
SKILL.md
---
name: swe-bench-grafema-experiments
description: |
  SWE-bench pipeline for A/B testing Grafema with Claude Code.
  Use when: (1) running SWE-bench experiments, (2) comparing baseline vs grafema conditions,
  (3) evaluating results, (4) debugging container issues.
author: Claude Code
version: 3.0.0
date: 2026-03-17
---

# SWE-bench Grafema Experiments

## Pipeline Overview

Uses `claude -p` inside SWE-bench Docker containers. Two conditions:
- **Baseline:** Claude Code + standard tools
- **Grafema:** Claude Code + `grafema` installed with pre-built graph + MCP tools

Same agent, same environment, same prompt (except tool docs section).

## Quick Commands

```bash
# Generate tasks.json (one-time)
python scripts/swe-bench/generate-tasks.py > scripts/swe-bench/tasks.json

# Run single task
./scripts/swe-bench/run.sh axios__axios-4731 --mode baseline
./scripts/swe-bench/run.sh axios__axios-4731 --mode grafema

# Run all JS/TS tasks (loop)
for task in $(jq -r '.[].instance_id' scripts/swe-bench/tasks.json); do
  ./scripts/swe-bench/run.sh "$task" --mode baseline
  ./scripts/swe-bench/run.sh "$task" --mode grafema
done

# Compare results
./scripts/swe-bench/compare.sh

# Evaluate with swebench
source /Users/vadimr/swe-bench-research/mini-swe-agent/.venv/bin/activate
python -m swebench.harness.run_evaluation \
  --dataset_name swe-bench/SWE-Bench_Multilingual \
  --predictions_path scripts/swe-bench/results/baseline/preds.jsonl \
  --max_workers 1 --run_id baseline
```

## Key Files

| File | Purpose |
|------|---------|
| `scripts/swe-bench/run.sh` | Main pipeline script |
| `scripts/swe-bench/compare.sh` | Results comparison |
| `scripts/swe-bench/generate-tasks.py` | Task generation from HuggingFace |
| `scripts/swe-bench/tasks.json` | Pre-cached 43 JS/TS tasks |
| `scripts/swe-bench/templates/prompt-baseline.md` | Baseline prompt |
| `scripts/swe-bench/templates/prompt-grafema.md` | Grafema prompt (with tool docs) |
| `_ai/swe-bench-runbook.md` | Full runbook |

## Debugging

### Container issues
```bash
# Check image exists
docker images | grep sweb.eval

# Check Node version
docker run --rm <image> node --version

# Debug inside container
docker run -it --name debug-swe -v ~/.claude:/root/.claude:ro <image> bash
```

### Auth issues
```bash
# Verify host auth
claude --version

# Check mount inside container
docker exec <container> ls -la /root/.claude/
```

### Grafema issues
```bash
# Check if grafema installed
docker exec <container> grafema --version

# Check if graph was built
docker exec <container> ls /testbed/.grafema/

# Check MCP config
docker exec <container> cat /testbed/.mcp.json
```

## Historical Results

Grafema consistently reduces file exploration (39-100%) but hasn't improved fix correctness in tested tasks. The new `claude -p` pipeline should provide cleaner measurements.

Attribution

DisentinelDisentinel
View sourceMore from Disentinel →
SSkills DirectorySkills Directory

Your tool, in front of Claude Code builders.

3 founder slots · $299/mo · GSC-verified traffic · sponsors can never buy grades.

See placements

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 (0)

No comments yet. Be the first to comment!

SSkills DirectorySkills Directory

Your tool, in front of Claude Code builders.

3 founder slots · $299/mo · GSC-verified traffic · sponsors can never buy grades.

See placements

Related Skills

Rank Tracker

This skill helps you track, analyze, and report on keyword ranking positions over time. It monitors both traditional SERP rankings and AI/GEO visibility to provide comprehensive search performance insights.

1821 votes

Youtube Competitor Analyzer

Find and analyze YouTube competitor channels using YouTube Data API v3. Discover competitors through keyword search, category matching, content similarity, and related channel discovery. Compare metrics, content strategies, and market positioning. Use when users want to (1) Find competitors for their YouTube channel, (2) Analyze competitor performance metrics, (3) Compare their channel against competitors, (4) Identify content gaps and opportunities, (5) Benchmark against similar creators, (6...

31 votes

Twitter Algorithm Optimizer

Analyze and optimize tweets for maximum reach using Twitter's open-source algorithm insights. Rewrite and edit user tweets to improve engagement and visibility based on how the recommendation system ranks content.

742580 votes

Weather Fetcher

Instructions for fetching current weather temperature data for Karachi, Pakistan from wttr.in API

655280 votes

Weather

Get current weather and forecasts (no API key required).

476190 votes
View all in data →