Skip to content
Skills Library
AI & agents · Planning

agent-context-setup

/agent-context-setup

Give a coding agent the right files and background at the start of a task, so it works from the real system rather than from assumption. Use when starting a non-trivial task with an agent.

Repository
AI-SKILLS ↗
Licence
MIT
Last repository change
05.09.2026

Assessment and security

100/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content35 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
1
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 05.09.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What it does and when to use it

Give a coding agent the right files and background at the start of a task, so it works from the real system rather than from assumption. Use when starting a non-trivial task with an agent.

Original author description

Give a coding agent the right files and background at the start of a task, so it works from the real system rather than from assumption. Use when starting a non-trivial task with an agent.

How it works

  1. Method
  2. Boundaries
Original SKILL.md headings · 36 lines, 223 words
SKILL.md preview
---
name: agent-context-setup
description: Give a coding agent the right files and background at the start of a task, so it works from the real system rather than from assumption. Use when starting a non-trivial task with an agent.
---

# Agent context setup

An agent's output quality is bounded by what it knows about your
codebase. Most disappointing results come from an agent guessing at
conventions and interfaces it was never shown.

## Method

1. **Point at the relevant files explicitly.** Naming the modules
   involved beats hoping the agent searches well, and it saves several
   exploratory turns.
2. **Include one example of the pattern to follow.** An existing
   similar implementation communicates conventions faster than any
   description (see few-shot-examples).
3. **State the constraint that is not visible in code.** Performance
   requirements, compatibility commitments, and decisions already made
   and rejected.
4. **Give the failure, not the diagnosis, when debugging.** The actual
   error, stack trace, and reproduction, rather than your theory, which
   anchors the agent on your assumption (see debugging).
5. **Keep context focused.** Loading the whole repository degrades
   attention on what matters (see context-compression).
6. **Let the agent explore for discovery tasks.** When the question is
   how something works, searching is the task rather than overhead.
7. **Restate the goal when the session drifts long.** Long sessions lose
   the original objective, and a mid-course restatement is cheap (see
   staying-on-task).

## Boundaries

Context improves output and cannot supply capability the model lacks.
Very large contexts degrade rather than improve results.
Repository-wide instructions belong in an instruction file rather than
being repeated per task (see agent-instruction-files).

Versions

The database has no other skills named agent-context-setup.

Database snapshot: 13.11.2026 · package version b6511edb27f2 (SHA-256 digest of the entire package)

Downloads in the last 30 days: 0 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 100task-spec
    Writes a clear task specification before delegating work to a coding agent or starting a non-trivial change. Use when the user describes a feature, bug, refactor or automation loosely; before long-running or unattended agent work; or when the user asks for a spec, plan, ticket,…
  • 95context-engineering
    Optimizes agent context setup. Use when starting a new session, when agent output quality degrades, when switching between tasks, or when you need to configure rules files and context for a project.
  • 90agent-context-isolation
    Give each agent in a system only the context it needs, so failures stay contained and context stays clean. Use when designing a multi-agent system and deciding what each agent sees and shares.
  • 100context-engineering
    Optimizes agent context setup. Use when starting a new session, when agent output quality degrades, when switching between tasks, or when you need to configure rules files and context for a project.
  • 100architecture-context
    Use when an AI coding agent starts real app work, product feature design, provider work, migrations, auth, billing, storage, webhooks, deploys, or any task where unclear architecture could cause broad or unsafe changes.
  • 100mukhon-context-engineering
    Optimizes agent context setup. Use when starting a new session, when agent output quality degrades, when switching between tasks, or when you need to configure rules files and context for a project.

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.