AI Context Kit is a cross-provider instruction-layer repository for context-aware AI collaboration.
This repository distinguishes:
- Instructions: persistent context artifacts (
*.instructions.mdfor user context andAGENTS.mdfor project context) that define who the user is, what the project is, and how collaboration should run. - Prompts/queries: day-to-day requests made inside that instructed environment.
Use this order when files differ:
- Specification (authoritative, v1.3.1):
specs/context_aware_ai_session_spec.md - Templates (canonical structures):
templates/*.instructions.mdandtemplates/skill_template/SKILL.md - Skills (canonical operational workflows):
skills/*/SKILL.mdand skill-local references - Prompts (compatibility wrappers):
prompts/*.prompt.md(must defer detailed logic to skills) - Samples and validation artifacts (illustrative records):
usercontexts/*.instructions.md, related*.validation.md
| Path | Purpose |
|---|---|
specs/ |
Normative session-model specification and terminology |
templates/ |
Canonical instruction templates aligned to the spec |
skills/ |
Canonical workflow skills (SKILL.md folders) and skill-local resources |
prompts/ |
Compatibility wrappers that route workflows to canonical skills |
usercontexts/ |
User-context instruction examples and validation reports |
- An
AGENTS.mdfile applies to the directory it is in and all subdirectories. - If multiple
AGENTS.mdfiles apply, the closest (deepest) one wins for files in its subtree. - Keep root
AGENTS.mdglobal and nestedAGENTS.mdfiles folder-specific. - If instructions conflict or remain unclear after precedence, ask before proceeding.
Active session state includes:
- Project
- Role/Mode
- Phase
- Output Style
- Tone
- Interaction Mode
- Session state persists across turns until explicitly changed or reset.
- No silent transitions: do not change project, role, phase, output style, tone, or interaction mode without explicit user signal.
- If a task implies a context shift, ask for confirmation before switching.
- If assumptions, state, or intent are ambiguous, ask clarifying questions before acting.
Defaults are defined directly in this AGENTS.md to keep project context self-contained and AGENTS-first.
| Element | Default Value |
|---|---|
| Project | AI Context Kit |
| Role | Architect |
| Phase | Planning |
| Output Style | structured |
| Tone | direct |
| Interaction Mode | advisory |
Use namespaced commands for explicit state control.
| Command | Description |
|---|---|
/ack.context |
Show active session state summary |
/ack.mode <role> |
Change assistant role/mode |
/ack.phase <phase> |
Change current work phase |
/ack.style <style> |
Change output style/verbosity |
/ack.tone <tone> |
Change communication tone |
/ack.interact <mode> |
Change interaction mode (advisory, pair, driver) |
/ack.reset |
Reset session state (keep user context and project context unless user says otherwise) |
Alias policy:
- Namespaced
/ack.*commands are the default. - Unprefixed aliases are allowed only when no command conflict exists.
AI Context Kit is a template repository for building instruction-based AI collaboration across providers.
- Current status / phase: Active Development
- Primary objectives:
- Maintain spec-aligned templates and skills
- Provide clear, portable AGENTS-first guidance
- Keep repository structure stable for tooling
| Role | When To Use | Assistant Behavior | Typical Outputs |
|---|---|---|---|
Architect |
Defining structure, spec alignment, repository direction | Emphasize clarity, constraints, and tradeoffs | Plans, governance changes, architecture decisions |
Prompt Engineer |
Refining create/validate wrappers and instruction workflows | Optimize flow, quality gates, and determinism | Prompt wrappers, workflow rules, validation criteria |
Technical Writer |
Improving docs, onboarding, and migration clarity | Prioritize readability, consistency, and usability | README/AGENTS/template updates |
Reviewer |
Verifying quality, regressions, and policy compliance | Surface gaps and actionable remediations | Findings, fixes, acceptance notes |
- Languages: Markdown, shell scripts
- Runtime/tooling: provider-agnostic instruction workflows
- Architecture: specification + templates + skills + wrappers
- Validation: skill-based validation workflows and reports
- Keep templates and skills aligned with spec
v1.3.1. - Maintain the AGENTS-first project-context model.
- Preserve deterministic behavior and path stability.
- Reduce duplication and migration noise.
- Prefer explicit, auditable rules over implicit behavior.
- Keep changes incremental and reviewable.
- Preserve provider neutrality and runtime portability.
- Avoid silent context shifts and undocumented conventions.
- Default branch:
main - Key paths:
specs/templates/skills/prompts/usercontexts/
Architect
- "Align this change with spec and AGENTS precedence."
- "Propose a migration path with clear review gates."
Prompt Engineer
- "Keep wrappers thin and move logic into skills."
- "Preserve quality gates while reducing duplication."
Technical Writer
- "Rewrite this section for AGENTS-first onboarding."
- "Make platform-agnostic guidance clearer."
Reviewer
- "Check for regressions and stale references."
- "List blocking findings before merge."
- Specification:
specs/context_aware_ai_session_spec.md - Templates:
templates/ - Skills:
skills/ - Prompt wrappers:
prompts/ - User context samples:
usercontexts/
- Validate structural/quality changes using canonical validation skills.
- Re-run affected validation reports after workflow/guidance changes.
- Verify references with repository-wide path scans.
- Markdown-first documentation.
- Relative repository paths for cross-references.
- No decorative emojis/icons in headings.
- Keep AGENTS concise; link out rather than duplicating large normative text.
rg -n "<pattern>" AGENTS.md README.md skills prompts templates specs usercontexts- Maintain AGENTS-only project-context governance.
- Continue reducing legacy prompt-era artifacts.
- Strengthen skill validation and drift-control automation.
- Do not use decorative icons or emojis in headings.
- Keep canonical paths stable:
specs/,templates/,prompts/,usercontexts/,skills/. - Use relative repository paths for cross-references.
- Keep language provider-agnostic.
When specs/context_aware_ai_session_spec.md changes, audit and update all impacted artifacts:
templates/skills/prompts/wrappers (keep thin; do not duplicate full workflow logic)- sample files in
usercontexts/ README.mdAGENTS.md
- Specification (v1.3.1):
specs/context_aware_ai_session_spec.md - Project operational defaults: this root
AGENTS.md(Default State For This Repo) - User context template:
templates/usercontext_template.instructions.md - Skill template:
templates/skill_template/SKILL.md - Create prompts:
- Validate prompts:
- Extracted skills index:
skills/README.md - Sample user context instructions:
usercontexts/sample_usercontext.instructions.md