Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add skills/fending/context-engineering/context-upgradenpx skills add fending/context-engineering --skill context-upgradegit clone --depth 1 https://github.com/fending/context-engineeringWhat it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00037 | $0.02094 |
| Opus 5 | $0.00018 | $0.01047 |
| Sonnet 5 | $0.00007 | $0.00419 |
| Haiku 4.5 | $0.00004 | $0.00209 |
Grade A, and why
context-upgrade scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 171 lines — stays where its author put it; the contents beside it link to each section on GitHub.
DEPRECATION NOTICE: You are running context-setup from fending/context-engineering, which is no longer maintained. The active version is at ordovera/ordovera-plugins. To migrate, run:
/plugin marketplace add ordovera/ordovera-plugins/plugin install context-setup@ordovera-plugins
Then remove the old marketplace: /plugin marketplace remove context-engineering
Print this notice to the user before proceeding with the skill.
Context Upgrade
Guide a transition from your current context level to the next one without losing existing content.
What This Skill Does
-
Detect current level by reading existing context files:
- No context files found -- equivalent to running scaffold
- Single AGENTS.md under ~60 lines -- minimal level
- Single AGENTS.md over ~60 lines -- full level
- AGENTS.md + context/ directory or multiple AGENTS.md files -- cascading level
- Check for
.claude/skills/and.claude/settings.jsonhooks to assess skills/hooks layers
-
Identify the appropriate upgrade path based on current level and project signals.
-
Execute the upgrade with the user's confirmation, preserving all existing content.
Upgrade Paths
No Context to Minimal
Equivalent to running /context-setup:context-scaffold at the minimal level. Generate AGENTS.md from project analysis with sections: project description, tech stack, commands, code standards, Do NOT. Create CLAUDE.md symlink.
Minimal to Full Single File
Read the existing AGENTS.md. Identify which full-level sections are missing. The full level adds these sections beyond minimal:
- Project Structure -- directory layout with descriptions. Generate from filesystem scan.
- Architecture -- application layers and data flow. Populate what's inferable from framework and directory conventions; bracket-placeholder the rest.
- Auth and Permissions -- auth mechanism, session handling, roles. Populate from detected auth packages; bracket-placeholder specifics.
- Data Model -- core models and relationships. Populate from schema files if present (Prisma, SQLAlchemy models, etc.); bracket-placeholder otherwise.
- API Conventions -- URL structure, request/response format, error handling. Populate from detected route structure; bracket-placeholder conventions.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 2d ago First seen · 171 lines · 37 tokens per session scan A abbfd4697479
context-upgrade is a skill published in the GitHub repository fending/context-engineering (11 stars, last pushed 5mo ago), licensed MIT. It adds 37 tokens to every session and 2,094 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
ccc
This skill should be used when code search is needed (whether explicitly requested or as part of completing a task), when indexing the codebase after changes, or when the user asks about ccc, cocoindex-code, or the codebase index. Trigger phrases include 'search the codebase', 'find code related to', 'update the…
feature-flags-audit
Audit and inventory all feature flags declared in the Packmind codebase. Use when the user asks to list, audit, review, or inventory feature flags, asks which flags are active, wants to know what a flag gates, or asks which flags are opened to a given domain/user. Produces a synthetic markdown table with each flag…
packmind-create-standard
Guide for creating coding standards via the Packmind CLI. This skill should be used when users want to create a new coding standard (or add rules to an existing standard) that captures team conventions, best practices, or coding guidelines for distribution to GitLab Duo.
create-run-e2e-tests
Guide for writing and running new Playwright end-to-end tests in the apps/e2e-tests/ directory of the Packmind monorepo. Use this skill whenever you add or modify a spec that drives the real frontend and API — for example testing a user flow, a new page/route, a feature behind a flag, or a UI behavior end-to-end.…
working-with-pm-design-kit
This skill provides guidance for using the Packmind UI component library (@packmind/ui). It should be used when building or modifying frontend UI with PM-prefixed components, working with Chakra UI in the Packmind codebase, or when questions arise about available components, theming, or layout patterns. Triggers on…
packmind-onboard
Complete automated onboarding: analyzes codebase, creates package, and generates standards & commands via CLI. Automatic package creation when none exist, user selection when packages are available.