cogni-ai-agent-skills
AGENTS.md4 starsChanged 6 months agoMITView on GitHub
Persistent single-source truth for autonomous agent behavior. For general project invariants see README.md. Read and merge these when operating inside corresponding sub-directories (order = precedence): You MUST load the skills relevant to the user prompt, inferred intent, and planned work into the current context. See AGENTS-RUNTIME.md for the full skills catalog, loading instructions, and structural invariants. - brainstorm: Use this skill for divergent exploration. It focuses on open-ended research, generating multiple orthogonal architectural paths (Design-It-Twice), recursive decomposition, and visualizing options…
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about code style.
Of the AGENTS.md files we read, the 31,774 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repository124 other files it gives its agents.
- .github/AGENTS.mdAGENTS.md
- .github/workflows/AGENTS.mdAGENTS.md
- .vscode/AGENTS.mdAGENTS.md
- .github/copilot-instructions.mdCopilot instructions
- agent-log-analysisSkill
- agent-mdSkill
- agent-md-writerSkill
- agent-skill-md-writerSkill
- agentskillsSkill
- agents-md-writerSkill
- ai-prompt-writerSkill
- ansibleSkill
- apache-airflow-apiSkill
- apache-airflow-dagsSkill
- astro-cliSkill
- astronomer-docsSkill
- awesome-copilotSkill
- brainstorm-agent-runsSkill
- brainstorm-github-prSkill
- brainstormSkill
- catSkill
- chrome-devtoolsSkill
- claude-docsSkill
- codeqlSkill
- code-reviewSkill
- code-tourSkill
- coding-standard-writerSkill
- context-aware-opsSkill
- copilot-cliSkill
- copilot-docsSkill
- critical-thinkingSkill
- datadog-agentSkill
- datadog-apiSkill
- datadog-mcpSkill
- datadog-monitorsSkill
- datadog-pulumiSkill
- devcontainerSkill
- dictationSkill
- direnvSkill
- dockerfileSkill
- dockerSkill
- docs-reviewSkill
- docs-writerSkill
- dot-claudeSkill
- dotfilesSkill
- dot-githubSkill
- editorconfigSkill
- fact-writerSkill
- gdpr-compliantSkill
- gh-agent-taskSkill
- gh-apiSkill
- gh-aw-compileSkill
- gh-aw-firewall-debugSkill
- gh-aw-firewallSkill
- gh-aw-newSkill
- gh-awSkill
- gh-aw-troubleshootingSkill
- gh-codespaceSkill
- gh-issueSkill
- gh-modelsSkill
- The first 60 shown.
The file
Show its rules and text
We split this AGENTS.md into the rules it gives an agent
26 rules. About 0 are common, 17 are distinctive, and 9 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈17
Distinctive · estimate
This author's own choices. Worth a look.
9
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 9
Read and merge these when operating inside corresponding sub-directories (order = precedence):
- Very specific: line 43
brainstorm: Use this skill for divergent exploration. - Very specific: line 47
critical-thinking: Use this skill for convergent evaluation. - Distinctive: line 54
Keep this file entropy-pruned and up-to-date.
- Distinctive: line 62
Verify your expected changes with git diff --no-color.
- Distinctive: line 63
Ensure no temporary, dummy, or unrelated test files are included in the commit.
- Distinctive: line 64
Use the project linting/validation tools to confirm your changes meet the coding standard.
- Distinctive: line 65
If the repo uses git hooks, run them to validate your changes.
- Very specific: line 71
When modifying or creating documentation and plain text files, always enforce line-wrapping and length limits in accordance with …
- Very specific: line 76
Use git mv, git rm, or equivalent Git-aware tooling (instead of mv or rm) to preserve history when working with files under source control.
- Very specific: line 96
Daemon Dependency: Ensure the Ollama daemon is running (e.g., ollama serve &).
- Distinctive: line 101
Use MCP when possible.
- Very specific: line 102
Use pre-commit for linting and validation if installed.
- Distinctive: line 107
When the task is not clear, look for additional context.
- Distinctive: line 108
If triggered by a brief comment, check whether the parent comment exists and includes more detail.
- Distinctive: line 109
If it's still ambiguous, communicate with the user and propose options.
- Distinctive: line 114
Test workflow changes on a feature branch before merging to main
- Very specific: line 115
Use actionlint to validate workflow syntax locally
- Very specific: line 120
Update .markdownlint.yaml, .yamllint, or .editorconfig for linting rules
- Very specific: line 121
Run pre-commit run -a to verify changes pass all checks
- Distinctive: line 127
When skills are loaded, they are available to the agent via tools, and the agent does not follow relative filesystem paths between them.
- Distinctive: line 146
If you encounter firewall issues when using the GitHub Copilot Agent:
- Distinctive: line 149
Do not work around blocked URLs by adding markdown-link-check ignore/whitelist patterns for real links.
- Distinctive: line 150
Keep markdown-link-check validating real links, and request firewall allowlisting instead.
- Distinctive: line 151
If you need to allowlist additional hosts, update your firewall configuration accordingly by following .github/FIREWALL.md and keep that …
- Distinctive: line 156
If you encounter issues while running in GitHub Actions, refer to the loading instructions in AGENTS-RUNTIME.md.
≈ “Common” is an estimate: at least 1 in 5 of the 40,246 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
AGENTS.md
Persistent single-source truth for autonomous agent behavior.
For general project invariants see README.md.
Directory-Specific Agent files
Read and merge these when operating inside corresponding sub-directories (order = precedence):
.github/AGENTS.md- Any
AGENTS.mdorSKILL.mdin ancestor, then current directory tree
Required References
- Agent configuration & conventions: .github/copilot-instructions.md
- Latest org baseline: https://github.com/Cogni-AI-OU/.github/blob/main/AGENTS.md
- Project overview & install: README.md
- Workflow navigation: .tours/getting-started.tour
Project Structure and Workflows
Directory Layout
/: Skill directories (each contains aSKILL.md).github/workflows/: GitHub Actions for CI/CD and automation.tours/: Guided walkthroughs for repository onboarding
Key Workflows
check.yml: Runs pre-commit checks and validationcogni-ai-agent.yml: Primary agent interaction workflowdevcontainer-ci.yml: Validates development container configuration
Skills
You MUST load the skills relevant to the user prompt, inferred intent, and planned work into the current context. See AGENTS-RUNTIME.md for the full skills catalog, loading instructions, and structural invariants.
Brainstorming vs. Critical Thinking
brainstorm: Use this skill for divergent exploration. It focuses on open-ended research, generating multiple orthogonal architectural paths (Design-It-Twice), recursive decomposition, and visualizing options via high-level Mermaid diagrams.critical-thinking: Use this skill for convergent evaluation. It focuses on deep analytical reasoning, adversarial red-teaming, surfacing hidden dependencies, root cause isolation, and formal constraint mapping (e.g., MiniZinc dry-code).
Final Assurance Gates
- Keep this file entropy-pruned and up-to-date.
- Inject full content into every sub-agent context.
- For latest standard see: https://agents.md/
Common Tasks
Before each commit
- Verify your expected changes with
git diff --no-color. - Ensure no temporary, dummy, or unrelated test files are included in the commit.
- Use the project linting/validation tools to confirm your changes meet the coding standard.
- If the repo uses git hooks, run them to validate your changes.
File operations
Editing files
- When modifying or creating documentation and plain text files, always enforce line-wrapping and length
limits in accordance with project-defined standards (such as
.markdownlint.yamlor.editorconfig).
Renaming/removing files
- Use
git mv,git rm, or equivalent Git-aware tooling (instead ofmvorrm) to preserve history when working with files under source control.
Feature-specific Notes
opencode
OpenCode (if installed) uses XDG base directories (not a single ~/.opencode dir):
| Directory | Purpose |
~/.local/share/opencode | Data and auth credentials (auth.json lives here) |
~/.config/opencode | User configuration (opencode.json/opencode.jsonc) |
~/.cache/opencode | Ephemeral binary cache - not worth persisting |
~/.local/state/opencode | Runtime state - not worth persisting |
ollama-cli
Ollama is used for local LLM execution.
- Daemon Dependency: Ensure the Ollama daemon is running (e.g.,
ollama serve &). - Shell Requirement: Commands using process substitution (e.g.,
<(echo ...)) MUST run inbashorzsh, NOT standard/bin/sh.
Tooling
- Use MCP when possible.
- Use
pre-commitfor linting and validation if installed. - For dumping links use
links -dumpif installed.
Understanding the Task
- When the task is not clear, look for additional context.
- If triggered by a brief comment, check whether the parent comment exists and includes more detail.
- If it's still ambiguous, communicate with the user and propose options.
Adding or Modifying Workflows
- Workflows in
.github/workflows/can be reused viaworkflow_call - Test workflow changes on a feature branch before merging to main
- Use
actionlintto validate workflow syntax locally
Updating Coding Standards
- Language-specific conventions reside in individual skill directories alongside their
SKILL.md - Update
.markdownlint.yaml,.yamllint, or.editorconfigfor linting rules - Run
pre-commit run -ato verify changes pass all checks
Skill references
- Cross-skill references in
SKILL.mdfiles must not use relative paths (e.g.,../path/SKILL.md). - When skills are loaded, they are available to the agent via tools, and the agent does not follow relative filesystem paths between them.
- Reference skills by their name (e.g.,
gh-api,git) instead of file links, as they are dynamically loaded by the agent via tools. - Avoid cyclic references: To prevent infinite agent loops, cross-references in
SKILL.mdfiles must be acyclic. - No back-references: Specialized sub-skills (e.g.,
gh-pr,git-expert) must not reference their parent command skill (gh,git). - Uni-directional sibling references: Sibling skills should only reference each other in a single
direction (e.g.,
moleculecan referenceansible, butansibleshould not referencemolecule).
References
- Main documentation: README.md
Troubleshooting
Firewall issues
If you encounter firewall issues when using the GitHub Copilot Agent:
- Refer to https://gh.io/copilot/firewall-config for configuration details.
- Do not work around blocked URLs by adding markdown-link-check ignore/whitelist patterns for real links.
- Keep markdown-link-check validating real links, and request firewall allowlisting instead.
- If you need to allowlist additional hosts, update your firewall configuration accordingly by following .github/FIREWALL.md and keep that file up to date.
GitHub Runtime issues
- If you encounter issues while running in GitHub Actions, refer to the loading instructions in AGENTS-RUNTIME.md.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

