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
As AI coding agents such as GitHub Copilot, Claude Code, Codex, and Cursor become more widely used, it may be helpful for PyGMT to provide an AGENTS.md file with repository-specific instructions.
The file could briefly describe:
The purpose and structure of PyGMT
How to set up a development environment
Testing requirements
Coding and documentation conventions
Useful links to contributor and developer documentation
More
Many projects are starting to adopt AGENTS.md files to help AI agents understand project workflows and produce contributions that better follow project standards.
Is the intention to just provide an AGENTS.md for developing/contributing/maintaining the PyGMT repository?
The purpose and structure of PyGMT
Coding and documentation conventions
These should be general enough to go in the AGENTS.md file, since they apply to every situation.
I'm still a little hesitant in adding this now, because some agent harnesses might use different file-naming conventions (e.g. CLAUDE.md, SOUL.md, etc), and you need to symlink the file to the correct name to have it work by default... But also maybe things will standardize to AGENTS.md soon?
How to set up a development environment
Testing requirements
Useful links to contributor and developer documentation
These feel more like SKILLS, that only apply in specific situations (e.g. tests don't need to run all the time). We might need to separate these out?
I don't have much experience with AGENTS.md yet. When leveraging AI tools for repetitive tasks, I’ve occasionally seen the AI lack project context and use incorrect ways to test. As an example, in #4582 (review), Codex validated the changes with py_compile, though I expected pytest. That led me to wonder how we can teach the AI to adhere to our specific instructions and read a little more about AGENTS.md.
I'm still a little hesitant in adding this now, because some agent harnesses might use different file-naming conventions (e.g. CLAUDE.md, SOUL.md, etc), and you need to symlink the file to the correct name to have it work by default... But also maybe things will standardize to AGENTS.md soon?
Activity
weiji14 commentedon Aug 28, 2026
Is the intention to just provide an AGENTS.md for developing/contributing/maintaining the PyGMT repository?
These should be general enough to go in the AGENTS.md file, since they apply to every situation.
I'm still a little hesitant in adding this now, because some agent harnesses might use different file-naming conventions (e.g. CLAUDE.md, SOUL.md, etc), and you need to symlink the file to the correct name to have it work by default... But also maybe things will standardize to AGENTS.md soon?
These feel more like SKILLS, that only apply in specific situations (e.g. tests don't need to run all the time). We might need to separate these out?
Side note: if we ever think about distributing more user-facing skills, we should think about packaging them properly - https://pavel.pink/blog/pixi-skills
seisman commentedon Aug 28, 2026
I don't have much experience with AGENTS.md yet. When leveraging AI tools for repetitive tasks, I’ve occasionally seen the AI lack project context and use incorrect ways to test. As an example, in #4582 (review), Codex validated the changes with
py_compile, though I expectedpytest. That led me to wonder how we can teach the AI to adhere to our specific instructions and read a little more about AGENTS.md.As far as I know, Claude still doesn't support AGENTS.md yet, but it's on the way (xref: https://x.com/trq212/status/2092302273099796842" We are working on making Claude Code more hackable, which will include being able to easily use Agents.MD or make other system prompt modifications.")
Not 100% related, but it reminds me this repository (https://github.com/rookieplayerjr/pygmt-plotting-skill) someone sent me a few days ago.