# Self Managed Context (agent skill)

> Self Managed Context is an agent skill (a SKILL.md file) from muratcankoylan/Agent-Skills-for-Context-Engineering. It should be used when a model gets read-write control over its own live context window instead of a harness-scheduled compaction policy: the context… It works with Claude Code, Codex, Cursor and GitHub Copilot and has 18,216 GitHub stars across a repository of 6 listed skills.

This skill should be used when a model gets read-write control over its own live context window instead of a harness-scheduled compaction policy: the context exposed as an editable file the model rewrites with code tools, model-driven eviction and in-place updates, the harness invariants that keep self-editing safe (pinned prefix, edit gate, edit receipts, budget readouts, rollback on overflow), the prefix-cache cost of mid-context edits, and steering or training the model's own…

## Key facts

| Fact | Value |
|---|---|
| Repository | https://github.com/muratcankoylan/Agent-Skills-for-Context-Engineering |
| Skill path | skills/self-managed-context/SKILL.md |
| Skill name | self-managed-context |
| GitHub stars | 18,216 |
| Installs on skills.sh | not listed |
| License | MIT |
| Skills in repo | 6 |
| Plugin marketplace | context-engineering-marketplace |
| Official | no |
| Works with | Claude Code, Codex, Cursor, GitHub Copilot |
| Category | Docs & writing |
| Last commit | Oct 12, 2026 |

## When it triggers

- used when a model gets read-write control over its own live context window instead of a harness-scheduled compaction policy: the context exposed as an editable file the model rewrites with code tools, model-driven eviction and in-place upda

## Add this skill

### Claude Code

```sh
/plugin marketplace add muratcankoylan/Agent-Skills-for-Context-Engineering
/plugin install context-engineering@context-engineering-marketplace
```

In the Claude apps, zip the skill folder and upload it under Customize > Skills > + > Upload a skill (code execution must be on).

### ChatGPT / Codex

```sh
git clone --depth 1 https://github.com/muratcankoylan/Agent-Skills-for-Context-Engineering.git
cp -r Agent-Skills-for-Context-Engineering/skills/self-managed-context .agents/skills/self-managed-context   # repo; ~/.agents/skills for all projects
```

### Cursor

```sh
git clone --depth 1 https://github.com/muratcankoylan/Agent-Skills-for-Context-Engineering.git
cp -r Agent-Skills-for-Context-Engineering/skills/self-managed-context .cursor/skills/self-managed-context   # project; ~/.cursor/skills for all projects
```

Sources (checked 2026-10-07): https://code.claude.com/docs/en/skills, https://support.claude.com/en/articles/12512180-using-skills-in-claude, https://learn.chatgpt.com/docs/build-skills, https://cursor.com/docs/context/skills

---

Canonical page: https://appsgit.com/skills/muratcankoylan-self-managed-context
Source: appsgit (https://appsgit.com), the app store for github. Data from the GitHub API, refreshed daily.
Machine access: JSON API https://appsgit.com/api/v1/apps (OpenAPI: https://appsgit.com/openapi.json), MCP server https://mcp.appsgit.com/mcp, full index https://appsgit.com/llms-full.txt.
