SkillTrust

← All skills

optimization-flash-attention

80 / 100 · Low risk

Fine to try. Some of what it can do is expected: a coding skill usually runs build and test commands.

By davila7/claude-code-templates (GitHub) · coding · 33,256 stars · scanned at commit a6e6f93

Optimizes transformer attention with Flash Attention for 2-4x speedup and 10-20x memory reduction. Use when training/running transformers with long sequences (>512 tokens), encountering GPU memory issues with attention, or need faster inference. Supports PyTorch native SDPA, flash-attn library, H100 FP8, and sliding window attention.

Works with any agent that supports SKILL.md skills.

What this skill can do

Downloads and installs other software

The author does not mention this.

Found in 9 places.

Show 6 more

Runs commands on your computer

The author does not mention this. Expected for a coding skill.

Found in 8 places.

Show 5 more

Install

Paste this into your terminal. It downloads exactly the version we scanned, not whatever is newest.

if [ -e ~/.agents/skills/'optimization-flash-attention' ] || [ -L ~/.agents/skills/'optimization-flash-attention' ]; then echo 'A skill folder named optimization-flash-attention already exists — not replacing it' >&2; false; else d=$(mktemp -d) && git clone --quiet --filter=blob:none --no-checkout 'https://github.com/davila7/claude-code-templates' "$d" && git -C "$d" checkout --quiet 'a6e6f93e9a4baaa6ff337aee5505bf5c2bae4ce6' -- 'cli-tool/components/skills/ai-research/optimization-flash-attention' && mkdir -p ~/.agents/skills && cp -R "$d"/'cli-tool/components/skills/ai-research/optimization-flash-attention' ~/.agents/skills/'optimization-flash-attention' && rm -rf "$d"; fi

Codex reads ~/.agents/skills directly. For Claude Code, Cursor, Copilot, Gemini CLI, Antigravity or OpenCode, also link it. For Claude Code: ln -s ~/.agents/skills/'optimization-flash-attention' ~/.claude/skills/'optimization-flash-attention' (other agents: ~/.cursor/skills, ~/.copilot/skills, ~/.gemini/skills, ~/.gemini/config/skills, ~/.config/opencode/skills). Or install through the finder skill, which does both.

Badge for your README

The badge for davila7/claude-code-templates shows the score of its lowest-scoring skill.

SkillTrust badge for davila7/claude-code-templates

[![SkillTrust](https://zalavijaysinh.github.io/skilltrust/badges/davila7/claude-code-templates.svg)](https://zalavijaysinh.github.io/skilltrust/repos/davila7/claude-code-templates/)

Score history

DateVersionScore
2026-11-10a6e6f9380
2026-11-08b086f2680
2026-11-07395f30e80