Skip to content
Back to skills

Fetch Context Shakefu Contextium

ASecurity

Load minimal relevant context for the current task

  • 666 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added June 2, 2026
ai-agentspythonrustgobashnodedocumentation

Security analysis

A100/100

Scanned June 2, 2026

npx -y skills add majiayu000/claude-skill-registry --skill fetch-context-shakefu-contextium --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Fetch Context Shakefu Contextium?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Fetch Context Shakefu Contextium
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/majiayu000-fetch-context-shakefu-contextium/badge)](https://www.skillsdirectory.com/skills/majiayu000-fetch-context-shakefu-contextium)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: fetch-context
description: Load minimal relevant context for the current task
allowed-tools: Bash, Read, Grep, Glob
---

# Context Fetcher

Load minimal, task-relevant context following the "minimal by default" philosophy.

## Execution

Run the context fetcher agent:

```bash
./agents/context-fetcher.sh
```

## Context Philosophy

**Minimal by default.** Only load what's directly relevant to the current task:

- Full file contents → Just file paths
- All documentation → Only relevant sections
- Complete history → Just recent relevant commits
- Every test → Only tests for current scope

## Context Sources

| Source | What's Loaded |
|--------|---------------|
| `context/purpose.md` | Project goals (first 50 lines) |
| `.claude/claude.md` | Project-specific instructions |
| `.contextium/tasks.json` | Current task scope |
| `.contextium/context-cache/` | Task-specific cached context |

## Project Detection

Automatically detects project type:
- **Node.js** - package.json
- **Rust** - Cargo.toml
- **Python** - pyproject.toml, setup.py
- **Go** - go.mod

## Memory Systems

Reports availability of:
- **Memvid** - `.contextium/memory.mv2`
- **GibRAM** - Knowledge graph on port 6161

## Output

```
=== CONTEXT FOR SESSION ===
Project: contextium (docs)
Task: implement-feature-x

Key Files:
- src/features/x/index.ts: Main feature entry
- tests/features/x.test.ts: Feature tests

Available Memory:
- Memvid: no
- GibRAM: no
===========================
```

## Caching Task Context

To cache context for a task:

```bash
mkdir -p .contextium/context-cache
cat > .contextium/context-cache/my-task.md << 'EOF'
# Context for my-task

## Relevant Files
- src/module.ts - Main implementation
- tests/module.test.ts - Tests

## Notes
- Uses pattern X for Y
- Must maintain backwards compatibility
EOF
```

Attribution

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

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.