SkillAgentSearch skills...

attention-variants-from-papers

Implement paper-defined attention variants by extracting mechanism invariants, mapping tensor shapes, preserving module interfaces, validating numerical behavior, and integrating the custom attention into an existing transformer stack.

Install / Use

npx skills add benchflow-ai/skillsbench --skill attention-variants-from-papers

Installs into whichever agent you are using.

About this skill
📄

SKILL.md

Installable skill definition

Quality Score

78/100

Category

Automation

Supported Platforms

Universal

Tags

Our assessment of attention-variants-from-papers

attention-variants-from-papers scores 78/100 on our quality scale, 2426th of 3,055 Automation skills we index.

Its SKILL.md is 2.6 KB long, split into 4 sections and no code examples: a solid amount of guidance for an agent.

With 1,813 GitHub stars, it is one of the more widely adopted skills in the catalogue.

Substance
26/30
Structure
8/20
Description
15/15
Adoption
14/20
Freshness
15/15

Maintenance, license and trust

  • The repository was last updated about 2 months ago, so attention-variants-from-papers is actively maintained.
  • It is released under the Apache-2.0 license, a permissive license that allows use, modification and commercial use with attribution.
  • Its trust signals score 100/100, with no cautions. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.

attention-variants-from-papers compared with similar skills

All 4 of these similar skills score higher than attention-variants-from-papers; compare them before choosing.

SkillScoreStarsUpdatedFormat
attention-variants-from-papers (this skill)by benchflow-ai781.8k2mo agoSKILL.md
Agent-Reachby Panniantong10087.6k16d agoCLAUDE.md
rufloby ruvnet10073.7ktodayCLAUDE.md
Scraplingby D4Vinci10085.1k1d agoMCP Server
algorithmic-artby anthropics100177.9k9d agoSKILL.md

Frequently asked questions

How do I install attention-variants-from-papers?
Run npx skills add benchflow-ai/skillsbench --skill attention-variants-from-papers. The install tabs above show the steps for each supported agent.
Which AI agents does attention-variants-from-papers work with?
It is written for Universal, as a SKILL.md file. Other agents that read the same format can often use it too.
Is attention-variants-from-papers safe to use?
It is Apache-2.0-licensed and scores 100/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
Is attention-variants-from-papers still maintained?
The repository was last updated about 2 months ago, so attention-variants-from-papers is actively maintained.

name: attention-variants-from-papers description: Implement paper-defined attention variants by extracting mechanism invariants, mapping tensor shapes, preserving module interfaces, validating numerical behavior, and integrating the custom attention into an existing transformer stack.

Attention Variants from Papers

Use this skill when a paper changes how attention scores, branches, normalization, or head sharing work, but the module still needs to behave like a drop-in transformer attention block.

Workflow

  1. Read the paper for invariants, not names. Use paper-to-implementation.md to extract the external contract, the changed computation, and the training-time constraints.
  2. Build a shape ledger before coding. Use shape-ledger.md to track projections, head grouping, branch count, and output width.
  3. Choose the mechanism pattern. Use mechanism-patterns.md for subtractive attention, branch mixing, learned gates, and extra normalization.
  4. Preserve the module boundary. Keep the same input and output shape, mask semantics, positional encoding flow, and cache behavior unless the task explicitly changes them.
  5. Validate in layers. Start with random-tensor smoke tests, then compare against a baseline attention path. Use stability-and-validation.md.
  6. Integrate into the stack last. Swap the new module into one transformer block, verify the residual path, then roll it through the full model. Use transformer-integration.md.

Checklist

  • extract the paper's invariants before writing code
  • account for every reshape, branch, and repeat in a shape ledger
  • preserve output width at concatenation or output projection
  • apply masks and positional terms at the intended stage
  • confirm random smoke tests stay finite
  • compare unchanged behaviors against a baseline attention implementation

Reference Map

Related Skills

View on GitHub
GitHub Stars1.8k
CategoryAutomation
Updated2mo ago
Forks368

Languages

PDDL

Trust signals

100/100

From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.

No cautions