You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+89Lines changed: 89 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,6 +12,7 @@ This tool collects context from predefined rule files and a task-specific prompt
12
12
-**Dynamic Context Assembly**: Merges context from various source files.
13
13
-**Task-Specific Prompts**: Use different prompts for different tasks (e.g., `feature`, `bugfix`).
14
14
-**Rule-Based Context**: Define reusable context snippets (rules) that can be included or excluded.
15
+
-**Skills System**: Progressive disclosure of specialized capabilities via skill directories.
15
16
-**Frontmatter Filtering**: Select rules based on metadata using frontmatter selectors (matches top-level YAML fields only).
16
17
-**Bootstrap Scripts**: Run scripts to fetch or generate context dynamically.
17
18
-**Parameter Substitution**: Inject values into your task prompts.
@@ -211,6 +212,9 @@ The tool looks for task and rule files in the following locations, in order of p
211
212
-`./.cursor/commands/*.md`
212
213
-`./.opencode/command/*.md`
213
214
215
+
**Skills** (specialized capabilities with progressive disclosure):
216
+
-`./.agents/skills/*/SKILL.md` (each subdirectory in `.agents/skills/` can contain a `SKILL.md` file)
217
+
214
218
**Rules:**
215
219
The tool searches for a variety of files and directories, including:
216
220
-`CLAUDE.local.md`
@@ -505,6 +509,24 @@ languages:
505
509
506
510
If you need to filter on nested data, flatten your frontmatter structure to use top-level fields only.
507
511
512
+
**MCP Server Configuration**
513
+
514
+
Rules can optionally specify MCP (Model Context Protocol) server configurations for integration with AI coding agents. This is useful for defining server processes that AI agents can interact with.
515
+
516
+
```yaml
517
+
---
518
+
languages:
519
+
- python
520
+
mcp_server:
521
+
command: python
522
+
args: ["-m", "server"]
523
+
env:
524
+
PYTHON_PATH: /usr/bin/python3
525
+
---
526
+
```
527
+
528
+
For detailed information on MCP server configuration, see the [File Formats Reference](https://kitproj.github.io/coding-context-cli/reference/file-formats#mcp_server-rule-metadata).
529
+
508
530
### Targeting a Specific Agent
509
531
510
532
The `-a` flag specifies which AI coding agent you're using. This information is currently used for:
@@ -614,6 +636,73 @@ Commands can also receive inline parameters:
614
636
/deploy env="production" version="1.2.3"
615
637
```
616
638
639
+
### Skill Files
640
+
641
+
Skill files provide specialized capabilities with progressive disclosure. Skills are discovered in `.agents/skills/` directories and each skill is a subdirectory containing a `SKILL.md` file with metadata.
642
+
643
+
**Skills enable:**
644
+
- **Progressive Disclosure**: Only skill metadata (name, description) is included in the initial context
645
+
- **On-Demand Loading**: AI agents can load full skill content when needed
646
+
- **Modular Capabilities**: Organize domain-specific knowledge separately from general rules
647
+
- **Selector Filtering**: Skills can be filtered using selectors just like rules
description: Analyze datasets, generate charts, and create summary reports. Use when the user needs to work with CSV, Excel, or other tabular data formats.
The AI agent can then read the full skill content from the provided location when needed.
705
+
617
706
### Task Frontmatter
618
707
619
708
Task frontmatter is **always** automatically included at the beginning of the output when a task file has frontmatter. This allows the AI agent or downstream tool to access metadata about the task being executed. There is no flag needed to enable this - it happens automatically.
0 commit comments