docs: remove glob tool references from templates and skills
Update identity.md, TOOLS.md, skills README, and skill-creator SKILL.md to remove mentions of the removed glob tool. Grep's glob parameter remains documented where relevant.
This commit is contained in:
1 parent
fe90edd71f
commit
f9cb0f22bd
4 files changed
+5
-13
No files matched your search
@@ -10,19 +10,11 @@ This file documents non-obvious constraints and usage patterns.
|
||||
- Output is truncated at 10,000 characters
|
||||
- `restrictToWorkspace` config can limit file access to the workspace
|
||||
|
||||
## glob — File Discovery
|
||||
|
||||
- Use `glob` to find files by pattern before falling back to shell commands
|
||||
- Simple patterns like `*.py` match recursively by filename
|
||||
- Use `entry_type="dirs"` when you need matching directories instead of files
|
||||
- Use `head_limit` and `offset` to page through large result sets
|
||||
- Prefer this over `exec` when you only need file paths
|
||||
|
||||
## grep — Content Search
|
||||
|
||||
- Use `grep` to search file contents inside the workspace
|
||||
- Default behavior returns only matching file paths (`output_mode="files_with_matches"`)
|
||||
- Supports optional `glob` filtering plus `context_before` / `context_after`
|
||||
- Supports optional `glob` filtering (e.g. `glob="*.py"`) plus `context_before` / `context_after`
|
||||
- Supports `type="py"`, `type="ts"`, `type="md"` and similar shorthand filters
|
||||
- Use `fixed_strings=true` for literal keywords containing regex characters
|
||||
- Use `output_mode="files_with_matches"` to get only matching file paths
|
||||
|
||||
@@ -24,7 +24,7 @@ Output is rendered in a terminal. Avoid markdown headings and tables. Use plain
|
||||
|
||||
## Search & Discovery
|
||||
|
||||
- Prefer built-in `grep` / `glob` over `exec` for workspace search.
|
||||
- Prefer built-in `grep` over `exec` for workspace search.
|
||||
- On broad searches, use `grep(output_mode="count")` to scope before requesting full content.
|
||||
{% include 'agent/_snippets/untrusted_content.md' %}
|
||||
|
||||
|
||||
Reference in new issue
Block a user