| name | dotnet-agent-harness-offline |
| category | developer-experience |
| subcategory | cli |
| description | Offline mode with local caching for air-gapped environments |
| targets | ["*"] |
| tags | ["harness","offline","cache"] |
| version | 0.0.1 |
| author | dotnet-agent-harness |
| license | MIT |
| invocable | true |
| claudecode | {} |
| opencode | {} |
| codexcli | {"short-description":".NET skill guidance for dotnet-agent-harness-offline"} |
| copilot | {} |
| geminicli | {} |
| antigravity | {} |
Offline Mode
Enable offline operation with local skill and MCP caching.
Activation
export DOTNET_HARNESS_OFFLINE=true
rulesync generate --offline
```text
```text
.dotnet-agent-harness/
├── cache/
│ ├── skills/
│ ├── mcp-responses/
│ └── registry/
└── index.json
Workflow
-
Online Sync (when connected):
dotnet-agent-harness:sync-cache
-
Offline Operation:
- Uses cached skills exclusively
- MCP servers return cached responses
- Search uses local index
Configuration
{
"offline": {
"enabled": false,
"cachePath": ".dotnet-agent-harness/cache",
"maxCacheAge": "7d",
"fallbackEnabled": true
}
}
Commands
dotnet-agent-harness:sync-cache - Sync cache from remote
dotnet-agent-harness:clear-cache - Clear local cache
dotnet-agent-harness:cache-status - Show cache statistics