SKILL·24B299

long-context

davila7
Updated 2 months ago
209 views
18,478
1,685
18,478
View on GitHub
DocumentationEmerging TechniquesLong ContextRoPEYaRNALiBiPosition InterpolationExtended ContextRotary EmbeddingsAttention BiasContext ExtensionPositional Encoding

About

This skill extends transformer model context windows using techniques like RoPE, YaRN, and position interpolation to handle long documents (32k-128k+ tokens). It enables developers to efficiently scale pre-trained models beyond their original limits by implementing advanced positional encodings and attention strategies. Use it when you need to process extensive text or modify model architectures for longer sequences.

Quick Install

Claude Code

Recommended
Primary
npx skills add davila7/claude-code-templates -a claude-code
Plugin CommandAlternative
/plugin add https://github.com/davila7/claude-code-templates
Git CloneAlternative
git clone https://github.com/davila7/claude-code-templates.git ~/.claude/skills/long-context

Copy and paste this command in Claude Code to install this skill

GitHub Repository

davila7/claude-code-templates
Path: cli-tool/components/skills/ai-research/emerging-techniques-long-context
0
anthropicanthropic-claudeclaudeclaude-code
FAQ

Frequently asked questions

What is the long-context skill?

long-context is a Claude Skill by davila7. Skills package instructions and resources that Claude loads on demand, so Claude can perform long-context-related tasks without extra prompting.

How do I install long-context?

Use the install commands on this page: add long-context to Claude Code as a plugin, or clone its repository into your skills directory, then restart Claude so it picks up the skill.

What category does long-context belong to?

long-context is in the Documentation category, tagged Emerging Techniques, Long Context, RoPE, YaRN, ALiBi and Position Interpolation.

Is long-context free to use?

Yes. long-context is listed on AIMCP and free to install. It runs inside Claude, so no separate service account is required to use the skill itself.

Related Skills

railway-docs
Documentation

This skill fetches current Railway documentation to answer questions about features, functionality, or specific docs URLs. It ensures developers receive accurate, up-to-date information directly from Railway's official sources. Use it when users ask how Railway works or reference Railway documentation.

View skill
n8n-code-python
Documentation

This Claude Skill provides expert guidance for writing Python code in n8n's Code nodes, specifically for using Python's standard library and working with n8n's special syntax like `_input`, `_json`, and `_node`. It helps developers understand Python's limitations within n8n and recommends using JavaScript for most workflows while offering Python solutions for specific data transformation needs.

View skill
archon
Documentation

The Archon skill provides RAG-powered semantic search and project management through a REST API. Use it for querying documentation, managing hierarchical projects/tasks, and performing knowledge retrieval with document upload capabilities. Always prioritize Archon first when searching external documentation before using other sources.

View skill
n8n-code-javascript
Documentation

This Claude Skill provides expert guidance for writing JavaScript code in n8n's Code nodes. It covers essential n8n-specific syntax like `$input`/`$json` variables, HTTP helpers, and DateTime handling, while troubleshooting common errors. Use it when developing n8n workflows that require custom JavaScript processing in Code nodes.

View skill