magus v0.4.3 is out. See what's new
¶ View markdown source · ✎ Suggest an edit
3 min read

Agent skills

These are the skills magus agent install writes, reproduced verbatim from the bodies embedded in the binary. Each ships in two hand-authored forms, and install writes both: the short form is the always-loaded primary, and the full form is its <name>-full twin, loaded by name when a reader needs the rationale. See Skills for the difference.

magus-architecture-reviewGround refactoring and structure proposals in the magus knowledge graph instead of intuition.5.4 KB short, 6.7 KB full - 19% shorter magus-buzz-reviewReview Buzz code - a magusfile, a spell, or a standalone .buzz script - across three lenses run in parallel: idiom/style, skeptic/correctness, and upstream-Buzz conformance.15.1 KB short, 20.3 KB full - 25% shorter magus-buzz-writeWrite and run Buzz, the language magusfiles, spells, and `magus buzz` scripts are written in.7.2 KB short, 8.7 KB full - 17% shorter magus-change-summarySummarize what changed in a magus workspace, write it up, or answer a granular diff question.5.3 KB short, 6.9 KB full - 23% shorter magus-commit-compositionRestructure an UNPUSHED branch so each commit is one reviewable idea, using the workspace's own boundaries (project ownership, declared outputs, blast radius) rather than guessing from paths.3.7 KB short, 4.3 KB full - 13% shorter magus-context-auditAudit the instructions an agent was given - the repo instruction file, installed skills, memory entries, a routing index, hook-injected text, and any user-level instruction file - for statements that contradict each other or that no longer match what the tools do.4.1 KB short, 5.7 KB full - 28% shorter magus-docs-lookupTraverse magus's own documentation to answer a "how does magus do X / what does Y mean / where is Z documented" question, instead of guessing an answer or a URL.3.4 KB short, 4.2 KB full - 19% shorter magus-memoryMaintain a user-owned per-repository memory through magus_memory or `magus memory`: named decisions, plans, pointers, and the hypotheses an investigation ruled out, all surviving worktrees and sessions.4.7 KB short, 5.6 KB full - 16% shorter magus-multi-agentSplit work across agents in a magus workspace as an acceptance-criteria loop: partition by WRITE SET using graph evidence (magus refs --occurrences, explain, affected --plan --stdin), prove the leases cannot collide, narrow the scope at every level, and match each lease's model to the work it needs.28.8 KB short, 38.4 KB full - 25% shorter magus-queryQuery the magus knowledge graph to find and relate entities (projects, targets, spells, ops, charms, modules, diagnostics, docs).11.6 KB short, 14.2 KB full - 18% shorter magus-runRun builds, tests, lints, and codegen through magus targets.8.3 KB short, 12.4 KB full - 33% shorter magus-sdkHelp a Go developer consume magus as a library (import "github.com/egladman/magus") instead of shelling out to the CLI, and audit whether the SDK actually serves them.12.5 KB short, 13.0 KB full - 3% shorter magus-test-designChoose unit, integration, or end-to-end test boundaries from the magus graph and runtime behavior.6.5 KB short, 10.3 KB full - 36% shorter magus-vcs-hygieneSafe version-control operations in a magus workspace (any repo with magusfile.buzz at the root).6.9 KB short, 9.6 KB full - 28% shorter magus-workspace-rulesAdapt magus's installed agent surface to THIS workspace without breaking it.8.4 KB short, 10.5 KB full - 19% shorter

All 15 together are 131.7 KB installed as the short form, against 170.6 KB for the full twins: 22% less always-loaded text.

agentsskillsreference
Last updated (a9ff8609)
Earlier changes on this page (7)

Full history ↗ · Blame source ↗

Glossary

Workspace

The magus root directory that owns a set of projects and shared config; the unit magus operates over. See workspace.

Project

A directory magus recognizes as a unit of work (it has a magusfile); the unit of caching, scheduling, and dependency tracking. See workspace.

Magusfile

The magusfile.buzz that declares a project's targets (as export funs) and binds its spells. See targets.

Target

A named operation (build, test, ...) you invoke with magus run <target>; it may compose a spell's tool-native operations and depend on other targets. See targets.

Op

A single tool-native command a target composes (long form: operation); the middle of the work hierarchy (Spell to Op to Target). See operations.

Spell

A language/runtime adapter (e.g. go, md) that maps generic targets onto a toolchain's real commands. See spells.

Charm

An execution modifier attached with : (lint:rw) that changes how a target runs, not which one; the built-in rw flips a check-only target to mutate in place, and ci always strips it. See charms.

Module

A magus stdlib namespace a magusfile imports for host capabilities: filesystem, exec, vcs, and more. See the module reference.

Buzz

The language magusfiles are written in (the .buzz engine). See engines.

Affected

The set of projects touched by a change; magus affected <target> runs a target only over them. See affected.

CI

An ordinary magusfile-defined target you compose yourself with magus\needs - magus does not hardcode its stages. Magus.RunCI treats it specially only in that it strips the rw charm, it is the anchor magus affected ci keys off, and a selected scope with no project declaring it is a load error rather than a silent no-op. See targets.

Span

OpenTelemetry's name for one unit of work under a trace - a target execution, whose sub-operations are child spans. An output reference points at a span's captured output. See telemetry.

Knowledge graph

The queryable graph of a workspace's spells, targets, docs, and code relationships; query it with magus query/explain/path. See knowledge.

Ownership

An insight lens: author concentration - the primary author and their share, the distinct-author count (the bus factor), and abandonment. See insight.

Session

An agent host's conversation, by the id the host delivers to its hooks. magus never mints one: a record with no session is unattributed, and the OS user it carries says whose account ran it.

Run

One target executing under one magus invocation, such as magus run test web or magus affected ci. A run keeps its captured output behind an output reference. Every magus run is a run whether or not any job asked for it; see Job for how the two relate.

Lease

The grant a holder takes on a job: the write and read paths that job declared, enforced in the checkout that took it with magus job exec. A job is the piece of work; a lease is permission over it.

Conventions

Placeholders

Angle brackets mark a value you replace with your own - never type the brackets:

magus run <target>
magus completion <shell>    # e.g. bash, zsh, fish

<target>, <path>, <shell>, <name> and the like are stand-ins, not literal text.