Skip to content

Adds agents and claude code config - #4804

Merged
kellyguo11 merged 3 commits into
isaac-sim:developfrom
AntoineRichard:antoiner/feat/agents
Mar 5, 2026
Merged

kellyguo11 merged 3 commits into
isaac-sim:developfrom
AntoineRichard:antoiner/feat/agents

Conversation

@AntoineRichard

Copy link
Copy Markdown
Collaborator

Description

These two files are inspired from Newton's own AGENTS.md and CLAUDE.md file.

Type of change

  • New feature (non-breaking change which adds functionality)

Checklist

  • I have read and understood the contribution guidelines
  • I have run the pre-commit checks with ./isaaclab.sh --format
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • I have updated the changelog and the corresponding version in the extension's config/extension.toml file
  • I have added my name to the CONTRIBUTORS.md or my name already exists there

@greptile-apps

greptile-apps Bot commented Mar 3, 2026 •

Copy link
Copy Markdown
Contributor

Greptile Summary

This PR adds two new configuration files — AGENTS.md and CLAUDE.md — that provide project-specific guidance to AI coding agents (Claude Code, GitHub Copilot, Codex, etc.) working in the IsaacLab repository. The content was adapted from the Newton project's equivalent files and has been updated to reference IsaacLab-specific conventions (tooling commands, API paths, changelog locations, etc.).

CLAUDE.md is a single-line file using Claude Code's @AGENTS.md import syntax, which correctly delegates all guidance to the shared AGENTS.md. AGENTS.md is comprehensive and covers API design rules, dependency policy, tooling, changelog format, commit conventions, copyright headers, and Warp kernel debugging.

One issue identified:

  • Hardcoded year in copyright template: The copyright header example on line 143 hardcodes 2022-2026, but the prose on line 141 says "use the current year (2026)". When AI agents read this file in future years, they will copy the literal example and write stale headers. The year should be expressed as a dynamic placeholder (e.g., <CURRENT_YEAR>) rather than a hardcoded value.

Confidence Score: 4/5

  • Documentation-only change with no code impact. One issue identified (hardcoded year in copyright template) is straightforward to fix before merging.
  • The PR adds well-structured agent guidance files adapted appropriately from Newton for IsaacLab. CLAUDE.md is clean and correctly uses the import directive pattern. AGENTS.md is comprehensive and covers all necessary guidance areas. One issue was identified: the copyright header template on line 143 hardcodes the year as 2022-2026, while the guidance says "use the current year (2026)". This will cause AI agents to copy the stale example in future years. The issue is real, fixable, and worth addressing before merge, but does not pose a functional risk to the codebase itself since it only affects generated documentation files. Recommended: fix the year placeholder to use a dynamic value (e.g., <CURRENT_YEAR>) before merging.
  • AGENTS.md (lines 141–147: hardcoded year in copyright header example should use dynamic placeholder)

Important Files Changed

Filename Overview
AGENTS.md New AI-agent guidance file, well-adapted from Newton's AGENTS.md for IsaacLab. Covers API design, dependencies, tooling, changelog, commits, copyright headers, and Warp debugging. One issue found: the copyright header example on line 143 hardcodes the year as 2022-2026, but the prose on line 141 instructs "use the current year (2026)". This inconsistency will cause AI agents to copy the literal example in future years, resulting in stale copyright headers. The placeholder should be dynamic (e.g., <CURRENT_YEAR>).
CLAUDE.md Minimal single-line file using Claude Code's @AGENTS.md import syntax to redirect Claude to the shared agent guidelines. Pattern is correct and intentional. No issues found.

Flowchart

%%{init: {'theme': 'neutral'}}%%
flowchart TD
    A[AI Coding Agent starts session] --> B{Which agent?}
    B -->|Claude Code| C[Reads CLAUDE.md]
    B -->|Other agents\nCopilot, Codex, Cursor| D[Reads AGENTS.md directly]
    C --> E["@AGENTS.md import directive"]
    E --> F[Loads AGENTS.md content]
    D --> F
    F --> G[API Design Rules]
    F --> H[Tooling Commands\n./isaaclab.sh -p/-f/-t/-d]
    F --> I[Changelog Guidelines]
    F --> J[Commit & PR Guidelines]
    F --> K[Copyright Header Rules\nYear: use dynamic placeholder]
    F --> L[Sandbox & Networking]
    F --> M[Testing Guidelines\nWarp kernel debugging]
Loading

Last reviewed commit: 632d169

@greptile-apps greptile-apps Bot left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

2 files reviewed, 6 comments

Edit Code Review Agent Settings | Greptile

Comment thread AGENTS.md Resolved
Comment thread AGENTS.md Resolved
Comment thread AGENTS.md Resolved
Comment thread AGENTS.md Resolved
Comment thread AGENTS.md Resolved
@AntoineRichard

Copy link
Copy Markdown
Collaborator Author

@greptile

Comment thread AGENTS.md
Comment on lines +141 to +147
- New files must use the current year (2026) in the SPDX copyright header:
```
# Copyright (c) 2022-2026, The Isaac Lab Project Developers (https://github.com/isaac-sim/IsaacLab/blob/main/CONTRIBUTORS.md).
# All rights reserved.
#
# SPDX-License-Identifier: BSD-3-Clause
```

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The prose on line 141 says "use the current year (2026)", but the example on line 143 hardcodes 2022-2026. When AI agents read this in future years, they will copy the literal example from line 143, resulting in stale copyright headers. The year should be expressed as a dynamic placeholder rather than a hardcoded value.

Suggested change
- New files must use the current year (2026) in the SPDX copyright header:
```
# Copyright (c) 2022-2026, The Isaac Lab Project Developers (https://github.com/isaac-sim/IsaacLab/blob/main/CONTRIBUTORS.md).
# All rights reserved.
#
# SPDX-License-Identifier: BSD-3-Clause
```
- New files must use the current calendar year in the SPDX copyright header:

Copyright (c) 2022-<CURRENT_YEAR>, The Isaac Lab Project Developers (https://github.com/isaac-sim/IsaacLab/blob/main/CONTRIBUTORS.md).

All rights reserved.

SPDX-License-Identifier: BSD-3-Clause

Context Used: Rule from dashboard - AGENTS.md (source)

@kellyguo11
kellyguo11 merged commit ba8f2e9 into isaac-sim:develop Mar 5, 2026
6 of 13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants