beta

agex Context Loader — Pipe Configs Into Sessions

Skills

Skill that fetches and loads agex artifacts as context on demand. Uses agex run to inject rules, skills, and reference docs.

2603/26/2026

Version 1

Published

Initial version

Created 3/26/2026

Initial version — no previous version to compare

Action Skill
---
name: agex-context
description: Load agex artifacts as context into the current session. Use when you need reference docs, rules, or skills that aren't installed locally. Fetches via agex run without modifying agex.toml.
---

# agex Context Loader

Load artifacts from agex.dev into the current session without permanently installing them.

## Single file artifact

```bash
# Load primary content
agex run @user/artifact-slug

# Load without the header comment
agex run @user/artifact-slug --no-header
```

## Multi-file artifact

```bash
# List all files
agex run @user/artifact-slug 2>&1 | head -5

# Load a specific file
agex run @user/artifact-slug --file reference/api-docs.md

# Load ALL files concatenated
agex run @user/artifact-slug --all
```

## Use cases

- **Quick reference**: load a style guide for a one-off task
- **Cross-project rules**: temporarily apply another project's conventions
- **Skill augmentation**: load a skill for a specific task without permanent install
- **Code review**: load security or review skills before reviewing code

## Pattern: Compose multiple contexts

```bash
# Load multiple artifacts into a single context
echo "$(agex run @community/security-review --no-header)

$(agex run @community/tdd-workflow-skill --no-header)" | claude -p "review this PR with these guidelines"
```