agentleFS
NVIDIAKnown publisherNVIDIA/NeMo-Agent-Toolkit/.cursor/rules/nat-cli/nat-workflow.mdc

NeMo-Agent-Toolkit / nat-cli

Cursor rule2.7k starsChanged 16 months agoApache-2.0View on GitHub

Follow these rules when the user's request involves creating, reinstalling, or deleting NeMo Agent Toolkit workflows

Trending

Quiet since August.about the whole repository

Dec 2025: 0 mentionsJan 2026: 1 mentionFeb 2026: 0 mentionsMar 2026: 2 mentionsApr 2026: 4 mentionsMay 2026: 2 mentionsJun 2026: 1 mentionJul 2026: 1 mentionAug 2026: 1 mentionSep 2026: 0 mentionsOct 2026: 0 mentionsNov 2026: 0 mentions
Dec 2025Jun 2026Nov 2026
Mentions a month of the NVIDIA/NeMo-Agent-Toolkit repository that our weekly crawl found. There is no adoption data for this file yet.

Who's talking about NVIDIA/NeMo-Agent-Toolkit

The biggest 5 of 15 mentions linking to the repository that our crawl found. Each line is their own headline.

See all 15

Talked about on GitHub (15 times).

On GitHub · 15

10 more on GitHub

The file

We split this nat-workflow.mdc into the rules it gives an agent

9 rules. About 0 are common, 3 are distinctive, and 6 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 6

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    After modifying the workflow's Python code

    line 51
  2. Very specific:

    After updating dependencies in pyproject.toml

    line 52
  3. Distinctive:

    After making changes to the workflow's configuration

    line 53
  4. Distinctive:

    After adding new tools or components

    line 54
  5. Very specific:

    Always reinstall after code changes: Use nat workflow reinstall when modifying workflow code

    line 80
  6. Very specific:

    Organize workflows: Use --workflow-dir to organize workflows in dedicated directories

    line 82
  7. Very specific:

    Clean up unused workflows: Use nat workflow delete to remove workflows no longer needed

    line 83
  8. Very specific:

    Test: Use nat run or nat serve to test the workflow

    line 88
  9. Very specific:

    Update: Use nat workflow reinstall my_workflow after code changes

    line 89

≈ “Common” is an estimate: at least 1 in 5 of the 3,030 Cursor rule 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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
nat-workflow.mdc
---
description: Follow these rules when the user's request involves creating, reinstalling, or deleting NeMo Agent Toolkit workflows
globs:
alwaysApply: false
---
# NeMo Agent Toolkit Workflow Commands

This rule provides guidance for using `nat workflow create`, `nat workflow reinstall`, and `nat workflow delete` commands effectively.

## nat workflow create

Creates a new NAT workflow using templates with boilerplate code.

### Basic Usage
```bash
nat workflow create WORKFLOW_NAME
```

### Available Options
- `--install` / `--no-install`: Whether to install the workflow package immediately (default: install)
- `--workflow-dir TEXT`: Output directory for saving the created workflow (default: current directory)
- `--description TEXT`: Description for the workflow docstring and component metadata

### Examples
```bash
# Create a basic workflow with default settings
nat workflow create my_rag_workflow

# Create workflow with custom description and don't install immediately
nat workflow create my_rag_workflow --no-install --description "A custom RAG workflow for document processing"

# Create workflow in specific directory
nat workflow create my_rag_workflow --workflow-dir ./my_workflows --description "Custom workflow for data analysis"
```

### What it generates
- Valid `pyproject.toml` file with plugin section
- `register.py` file with NAT boilerplate code
- Configuration file for launching the workflow

## nat workflow reinstall

Rebuilds and reinstalls a workflow package after modifications.

### Basic Usage
```bash
nat workflow reinstall WORKFLOW_NAME
```

### When to use
- After modifying the workflow's Python code
- After updating dependencies in `pyproject.toml`
- After making changes to the workflow's configuration
- After adding new tools or components

### Example
```bash
# Reinstall after making code changes
nat workflow reinstall my_rag_workflow
```

## nat workflow delete

Removes a workflow package from the local environment and uninstalls it.

### Basic Usage
```bash
nat workflow delete WORKFLOW_NAME
```

### Example
```bash
# Remove workflow completely
nat workflow delete my_rag_workflow
```

## Best Practices

1. **Use descriptive workflow names**: Choose names that clearly indicate the workflow's purpose
2. **Always reinstall after code changes**: Use `nat workflow reinstall` when modifying workflow code
3. **Use custom descriptions**: Provide meaningful descriptions when creating workflows
4. **Organize workflows**: Use `--workflow-dir` to organize workflows in dedicated directories
5. **Clean up unused workflows**: Use `nat workflow delete` to remove workflows no longer needed

## Common Workflow
1. Create: `nat workflow create my_workflow --description "Description of what it does"`
2. Develop: Modify the generated code in `register.py` and configuration
3. Test: Use `nat run` or `nat serve` to test the workflow
4. Update: Use `nat workflow reinstall my_workflow` after code changes
5. Clean up: Use `nat workflow delete my_workflow` when no longer needed

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.