[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M70J9FBR2Y9G1PQCMN1AE316":3,"skill-same:01M70J9FBR2Y9G1PQCMN1AE316":115},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":39,"linkOnly":40,"markdownContent":41,"markdownBody":42,"frontMatter":43,"refName":67,"commitSha":68,"skillDirectory":69,"forksCount":70,"repositoryHtmlUrl":71,"repositoryHomepageUrl":6,"ownerHtmlUrl":72,"ownerBlogUrl":6,"ownerDescription":73,"updatedAt":74,"install":75,"resources":88},"01M70J9FBR2Y9G1PQCMN1AE316","human-skills-tools",null,"Core file system inspection and manipulation toolset for agents: find_by_name, grep_search, list_dir, view_file, write_to_file, and patch_text.","mdnaimul22\u002Fhuman-skills","mdnaimul22","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F64520358?v=4","01M70FH95MH2H796Q01TYSFZ03","Naimul","01M70FH96798CQR4YHA13F17GA",3,"MIT","https:\u002F\u002Fgithub.com\u002Fmdnaimul22\u002Fhuman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fstorage\u002Fmy_skills\u002Fhuman-skills-tools\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38],"human skills tools","human skills","Tools","human","list","inspection","for","name","writer","files","view","directory","write","read","text","system","team","file","search","create","2026-11-10 10:12:30",false,"---\nname: \"human-skills-tools\"\ndescription: \"Core file system inspection and manipulation toolset for agents: find_by_name, grep_search, list_dir, view_file, write_to_file, and patch_text.\"\nversion: \"1.2.0\"\nauthor: \"Human Skills Team\"\ntags: [\"filesystem\", \"tools\", \"inspection\", \"search\", \"grep\", \"file-reader\", \"file-writer\", \"list-dir\", \"patch\", \"replace\"]\ntrigger_patterns:\n  - \"find files\"\n  - \"search codebase\"\n  - \"grep search\"\n  - \"list directory\"\n  - \"view file\"\n  - \"read file\"\n  - \"write file\"\n  - \"create file\"\n  - \"patch text\"\n  - \"patch file\"\n  - \"replace file content\"\n---\n\n# Human Skills Tools — File System & Code Inspection Suite\n\n> *\"Fast, deterministic file system inspection and safe code manipulation tools for autonomous agents.\"*\n\n---\n\n## When to Use\n\nActivate this skill when you need to inspect, search, traverse, read, create, or edit files in a project workspace:\n- Locate files by name or pattern across directories (`find_by_name`)\n- Search code patterns, function definitions, or strings across files (`grep_search`)\n- Explore folder contents, file sizes, modification times, and permissions (`list_dir`)\n- Read and inspect exact source code lines with line numbering and range slicing (`view_file`)\n- Safely write or overwrite files with automated syntax validation (`write_to_file`)\n- Safely patch text, replace spans, or apply context diffs (`patch_text`)\n\n---\n\n## Tool Selection Guide\n\n| Need | Recommended Tool | Key Capabilities |\n|:---|:---:|:---|\n| Locate files or folders by name | `find_by_name` | Glob patterns, depth limits, directory\u002Ffile filters, path exclusions |\n| Search code for text, tokens, or functions | `grep_search` | AST context tagging (functions\u002Fclasses), line numbers, file filters |\n| Inspect directory contents and metadata | `list_dir` | Markdown table with file types, sizes, timestamps, permissions |\n| Read source code or config files | `view_file` | Numbered lines, line ranges (`start_line`, `end_line`), memory caching |\n| Create or full-overwrite files safely | `write_to_file` | Automated syntax validation (Python, JSON, YAML, XML), auto `mkdir -p` |\n| Surgically patch or replace code in existing file | `patch_text` | Exact replace, line bounds, context patch, multi-replace, syntax safety |\n\n---\n\n## 1. The `find_by_name` Tool\n\nFind files or directories matching a glob pattern or filename with directory depth and exclusion filters.\n\n### 📝 PARAMETERS:\n- `search_directory`: **REQUIRED** - Absolute path of the root directory to search in.\n- `pattern`: *OPTIONAL* - Filename glob pattern (e.g. `\"*.py\"`, `\"*.json\"`). Default: `\"*\"` (all files).\n- `type`: *OPTIONAL* - Filter by item type: `\"file\"`, `\"directory\"`, or `\"any\"`. Default: `\"any\"`.\n- `max_depth`: *OPTIONAL* - Maximum directory depth to recurse. Default: unlimited.\n- `excludes`: *OPTIONAL* - Comma-separated path segments to exclude (e.g. `\"node_modules,__pycache__,.git\"`).\n- `full_path`: *OPTIONAL* - Match pattern against the full path instead of filename only (`\"true\"` \u002F `\"false\"`). Default: `\"false\"`.\n\n### 📋 HOW TO CALL THIS TOOL:\n\nFor CLI execution maps to this JSON payload:\n```json\n{\n    \"tool_name\": \"find_by_name\",\n    \"tool_args\": {\n        \"search_directory\":   \"\u002Fhome\u002Fuser_name\u002Fworkdir\u002Fmy-project\",\n        \"pattern\":            \"*.py\",\n        \"type\":               \"file\",\n        \"max_depth\":          \"3\",\n        \"excludes\":           \"node_modules,__pycache__,.git\",\n        \"full_path\":          \"false\"\n    }\n}\n```\n\n### 📁 Common Scenarios for `find_by_name`:\n\n#### Scenario A: Find all subdirectories\n```bash\nhuman-skills '{\n    \"tool_name\": \"find_by_name\",\n    \"tool_args\": {\n        \"search_directory\":   \"\u002Fhome\u002Fuser_name\u002Fworkdir\u002Fmy-project\",\n        \"type\":               \"directory\",\n        \"max_depth\":          \"2\"\n    }\n}'\n```\n\n#### Scenario B: Find configuration files excluding caches\n```bash\nhuman-skills '{\n    \"tool_name\": \"find_by_name\",\n    \"tool_args\": {\n        \"search_directory\":   \"\u002Fhome\u002Fuser_name\u002Fworkdir\u002Fmy-project\",\n        \"pattern\":            \"*.json\",\n        \"excludes\":           \"node_modules,dist,build,.cache\"\n    }\n}'\n```\n\n---\n\n## 2. The `grep_search` Tool\n\nHigh-speed code and text search across files with line numbers, code snippets, and AST context detection (classes, functions, async functions).\n\n### 📝 PARAMETERS:\n- `query`: **REQUIRED** - Text or symbol pattern to search for.\n- `search_path`: *OPTIONAL* - Root directory or specific file path to search in. Default: `\".\"`.\n- `case_insensitive`: *OPTIONAL* - Case-insensitive match (`\"true\"` \u002F `\"false\"`). Default: `\"false\"`.\n- `match_per_line`: *OPTIONAL* - Return each matching line with context (`\"true\"`), or filenames only (`\"false\"`). Default: `\"true\"`.\n- `includes`: *OPTIONAL* - Comma-separated glob patterns to restrict search to specific file types (e.g. `\"*.py,*.ts\"`).\n\n### 📋 HOW TO CALL THIS TOOL:\n\n```json\n{\n    \"tool_name\": \"grep_search\",\n    \"tool_args\": {\n        \"query\":              \"def execute\",\n        \"search_path\":        \"\u002Fhome\u002Fuser_name\u002Fworkdir\u002Fmy-project\",\n        \"case_insensitive\":   \"false\",\n        \"match_per_line\":     \"true\",\n        \"includes\":           \"*.py\"\n    }\n}\n```\n\n### 📁 Common Scenarios for `grep_search`:\n\n#### Scenario A: Find all files mentioning a term (fast file listing)\n```bash\nhuman-skills '{\n    \"tool_name\": \"grep_search\",\n    \"tool_args\": {\n        \"query\":              \"Settings\",\n        \"search_path\":        \"\u002Fhome\u002Fuser_name\u002Fworkdir\u002Fmy-project\u002Fsrc\",\n        \"match_per_line\":     \"false\",\n        \"includes\":           \"*.py\"\n    }\n}'\n```\n\n#### Scenario B: Case-insensitive search across documentation and code\n```bash\nhuman-skills '{\n    \"tool_name\": \"grep_search\",\n    \"tool_args\": {\n        \"query\":              \"authentication\",\n        \"search_path\":        \"\u002Fhome\u002Fuser_name\u002Fworkdir\u002Fmy-project\",\n        \"case_insensitive\":   \"true\",\n        \"match_per_line\":     \"true\",\n        \"includes\":           \"*.py,*.md\"\n    }\n}'\n```\n\n---\n\n## 3. The `list_dir` Tool\n\nInspect directory contents and display a clean Markdown table with file types, human-readable sizes, modification timestamps, and POSIX permissions.\n\n### 📝 PARAMETERS:\n- `directory_path`: **REQUIRED** - Absolute path to the directory to list.\n\n### 📋 HOW TO CALL THIS TOOL:\n\n```json\n{\n    \"tool_name\": \"list_dir\",\n    \"tool_args\": {\n        \"directory_path\":     \"\u002Fhome\u002Fuser_name\u002Fworkdir\u002Fmy-project\"\n    }\n}\n```\n\nExpected output:\n```markdown\nContents of `\u002Fhome\u002Fuser_name\u002Fworkdir\u002Fmy-project`:\n\n| Name | Type | Size | Modified | Permissions |\n|------|------|------|----------|-------------|\n| src\u002F | Dir | 12 files | 2026-09-20 14:30 | rwxr-xr-x |\n| tests\u002F | Dir | 5 files | 2026-09-20 14:25 | rwxr-xr-x |\n| main.py | File | 1.4 KB | 2026-09-20 14:28 | rw-r--r-- |\n| pyproject.toml | File | 850 B | 2026-09-20 11:00 | rw-r--r-- |\n| README.md | File | 2.1 KB | 2026-09-20 10:15 | rw-r--r-- |\n```\n\n### 📁 Common Scenarios for `list_dir`:\n\n#### Scenario A: Inspect source package directory\n```bash\nhuman-skills '{\n    \"tool_name\": \"list_dir\",\n    \"tool_args\": {\n        \"directory_path\":     \"\u002Fhome\u002Fuser_name\u002Fworkdir\u002Fmy-project\u002Fsrc\"\n    }\n}'\n```\n\n#### Scenario B: Check build output directory\n```bash\nhuman-skills '{\n    \"tool_name\": \"list_dir\",\n    \"tool_args\": {\n        \"directory_path\":     \"\u002Fhome\u002Fuser_name\u002Fworkdir\u002Fmy-project\u002Fdist\"\n    }\n}'\n```\n\n---\n\n## 4. The `view_file` Tool\n\nRead and inspect file contents with 1-indexed line numbers, total line count metadata, and optional line range slicing.\n\n### 📝 PARAMETERS:\n- `absolute_path`: **REQUIRED** - Absolute path to the file to view.\n- `start_line`: *OPTIONAL* - First line to display (1-indexed). Default: `1`.\n- `end_line`: *OPTIONAL* - Last line to display (inclusive). Default: show up to end of file.\n\n### 📋 HOW TO CALL THIS TOOL:\n\n```json\n{\n    \"tool_name\": \"view_file\",\n    \"tool_args\": {\n        \"absolute_path\":      \"\u002Fhome\u002Fuser_name\u002Fworkdir\u002Fmy-project\u002Fmain.py\",\n        \"start_line\":         \"1\",\n        \"end_line\":           \"15\"\n    }\n}\n```\n\n\n### 📁 Common Scenarios for `view_file`:\n\n#### Scenario A: View entire file from beginning\n```bash\nhuman-skills '{\n    \"tool_name\": \"view_file\",\n    \"tool_args\": {\n        \"absolute_path\":      \"\u002Fhome\u002Fuser_name\u002Fworkdir\u002Fmy-project\u002Fpyproject.toml\"\n    }\n}'\n```\n\n#### Scenario B: View specific function or error slice\n```bash\nhuman-skills '{\n    \"tool_name\": \"view_file\",\n    \"tool_args\": {\n        \"absolute_path\":      \"\u002Fhome\u002Fuser_name\u002Fworkdir\u002Fmy-project\u002Fsrc\u002Fservices.py\",\n        \"start_line\":         \"40\",\n        \"end_line\":           \"85\"\n    }\n}'\n```\n\n---\n\n## 5. The `write_to_file` Tool\n\nCreate new files or overwrite existing ones safely. Includes automatic parent directory creation (`mkdir -p`) and multi-language syntax checking.\n\n### 📝 PARAMETERS:\n- `target_file`: **REQUIRED** - Absolute path for the new file.\n- `code_content`: *OPTIONAL* - Content to write to the file. Default: empty string.\n- `overwrite`: *OPTIONAL* - Overwrite existing file if `\"true\"`. Default: `\"false\"`.\n- `auto_check`: *OPTIONAL* - Validate syntax before writing (`\"true\"` \u002F `\"false\"`). Default: `\"true\"`. Supports `.py` (`ast` + `py_compile`), `.json`, `.yaml`, `.xml`.\n- `strict_mode`: *OPTIONAL* - Block file creation on syntax errors if `\"true\"`. Default: `\"true\"`.\n\n### 📋 HOW TO CALL THIS TOOL:\n\n```json\n{\n    \"tool_name\": \"write_to_file\",\n    \"tool_args\": {\n        \"target_file\":        \"\u002Fhome\u002Fuser_name\u002Fworkdir\u002Fmy-project\u002Fsrc\u002Fconfig.py\",\n        \"code_content\":       \"PORT = 8080\\nDEBUG = True\\n\",\n        \"overwrite\":          \"true\",\n        \"auto_check\":         \"true\",\n        \"strict_mode\":        \"true\"\n    }\n}\n```\n\n### 📁 Common Scenarios for `write_to_file`:\n\n#### Scenario A: Create a new Python module\n```bash\nhuman-skills '{\n    \"tool_name\": \"write_to_file\",\n    \"tool_args\": {\n        \"target_file\":        \"\u002Fhome\u002Fuser_name\u002Fworkdir\u002Fmy-project\u002Fsrc\u002Fhelpers.py\",\n        \"code_content\":       \"def format_name(first: str, last: str) -> str:\\n    return f\\\"{first.strip()} {last.strip()}\\\"\\n\",\n        \"overwrite\":          \"false\",\n        \"auto_check\":         \"true\",\n        \"strict_mode\":        \"true\"\n    }\n}'\n```\n\n#### Scenario B: Create a JSON configuration file\n```bash\nhuman-skills '{\n    \"tool_name\": \"write_to_file\",\n    \"tool_args\": {\n        \"target_file\":        \"\u002Fhome\u002Fuser_name\u002Fworkdir\u002Fmy-project\u002Fconfig\u002Fsettings.json\",\n        \"code_content\":       \"{\\n  \\\"env\\\": \\\"production\\\",\\n  \\\"retries\\\": 3\\n}\\n\",\n        \"overwrite\":          \"true\",\n        \"auto_check\":         \"true\"\n    }\n}'\n```\n\n#### Scenario C: Create an empty placeholder file\n```bash\nhuman-skills '{\n    \"tool_name\": \"write_to_file\",\n    \"tool_args\": {\n        \"target_file\":        \"\u002Fhome\u002Fuser_name\u002Fworkdir\u002Fmy-project\u002Fsrc\u002F__init__.py\",\n        \"code_content\":       \"\",\n        \"overwrite\":          \"true\"\n    }\n}'\n```\n\n---\n\n## 6. The `patch_text` Tool\n\nSafely replace code blocks, text spans, line ranges, or multiple non-contiguous chunks in files with integrated syntax validation.\n\n### 📝 PARAMETERS:\n- `TargetFile`: **REQUIRED** - Absolute path to the file to edit (alias: `target_file`, `path`).\n- `TargetContent`: *OPTIONAL* - Exact text or code block to replace for a single edit (alias: `old_text`, `target_content`).\n- `ReplacementContent`: *OPTIONAL* - Replacement text or code block (alias: `new_text`, `replacement_content`). Default: `\"\"` (deletion).\n- `StartLine`: *OPTIONAL* - 1-based start line to restrict replacement range (alias: `start_line`).\n- `EndLine`: *OPTIONAL* - 1-based end line to restrict replacement range (alias: `end_line`).\n- `AllowMultiple`: *OPTIONAL* - Replace all occurrences if `\"true\"`. Default: `\"false\"` (alias: `allow_multiple`).\n- `ReplacementChunks`: *OPTIONAL* - Array of chunk objects for multiple non-contiguous replacements: `[{\"TargetContent\": str, \"ReplacementContent\": str, \"StartLine\": int, \"EndLine\": int, \"AllowMultiple\": bool}]` (alias: `replacement_chunks`, `chunks`).\n- `auto_check`: *OPTIONAL* - Validate syntax before saving (`\"true\"` \u002F `\"false\"`). Default: `\"true\"`.\n- `strict_mode`: *OPTIONAL* - Abort replacement on syntax errors (`\"true\"` \u002F `\"false\"`). Default: `\"false\"`.\n\n### 📋 HOW TO CALL THIS TOOL:\n\n#### Scenario A: Exact code replacement (Single block)\n```bash\nhuman-skills '{\n    \"tool_name\": \"patch_text\",\n    \"tool_args\": {\n        \"TargetFile\":         \"\u002Fhome\u002Fuser_name\u002Fworkdir\u002Fmy-project\u002Fsrc\u002Fservice.py\",\n        \"TargetContent\":      \"def get_user():\\n    return None\",\n        \"ReplacementContent\": \"def get_user():\\n    return User(id=1)\"\n    }\n}'\n```\n\n#### Scenario B: Line-bounded replacement (Safe targeting)\n```bash\nhuman-skills '{\n    \"tool_name\": \"patch_text\",\n    \"tool_args\": {\n        \"TargetFile\":         \"\u002Fhome\u002Fuser_name\u002Fworkdir\u002Fmy-project\u002Fsrc\u002Fconfig.py\",\n        \"TargetContent\":      \"PORT = 3000\",\n        \"ReplacementContent\": \"PORT = 8080\",\n        \"StartLine\":          \"10\",\n        \"EndLine\":            \"25\"\n    }\n}'\n```\n\n#### Scenario C: Multi-chunk replacement (Multiple non-contiguous locations simultaneously)\n```bash\nhuman-skills '{\n    \"tool_name\": \"patch_text\",\n    \"tool_args\": {\n        \"TargetFile\": \"\u002Fhome\u002Fuser_name\u002Fworkdir\u002Fmy-project\u002Fsrc\u002Fapp.py\",\n        \"ReplacementChunks\": [\n            {\n                \"StartLine\": 5,\n                \"EndLine\": 7,\n                \"TargetContent\": \"PORT = 3000\",\n                \"ReplacementContent\": \"PORT = 8080\"\n            },\n            {\n                \"StartLine\": 20,\n                \"EndLine\": 25,\n                \"TargetContent\": \"DEBUG = False\",\n                \"ReplacementContent\": \"DEBUG = True\"\n            },\n            {\n                \"StartLine\": 50,\n                \"EndLine\": 55,\n                \"TargetContent\": \"TIMEOUT = 10\",\n                \"ReplacementContent\": \"TIMEOUT = 30\"\n            }\n        ]\n    }\n}'\n```\n\n---\n\n## ⚠️ Important Rules & Best Practices\n\n1. **All values in `tool_args` must be strings**:\n   - Numbers and booleans must be quoted strings: `\"max_depth\": \"3\"`, `\"match_per_line\": \"true\"`, `\"start_line\": \"1\"`.\n2. **Always supply absolute paths**:\n   - Use absolute paths (e.g. `\u002Fhome\u002Fuser\u002Fproject\u002F...`) to ensure deterministic behavior across subshells.\n3. **Safety First on File Writes**:\n   - `write_to_file` will refuse to overwrite existing files unless `\"overwrite\": \"true\"` is explicitly passed.\n   - If syntax validation fails in strict mode, the file is not written and specific errors with line numbers are returned.\n4. **Token Efficiency**:\n   - Use `view_file` with `start_line` and `end_line` for targeted reviews rather than dumping massive files.\n   - Use `grep_search` with `includes` to avoid searching irrelevant directories and files.\n","# Human Skills Tools — File System & Code Inspection Suite\n\n> *\"Fast, deterministic file system inspection and safe code manipulation tools for autonomous agents.\"*\n\n---\n\n## When to Use\n\nActivate this skill when you need to inspect, search, traverse, read, create, or edit files in a project workspace:\n- Locate files by name or pattern across directories (`find_by_name`)\n- Search code patterns, function definitions, or strings across files (`grep_search`)\n- Explore folder contents, file sizes, modification times, and permissions (`list_dir`)\n- Read and inspect exact source code lines with line numbering and range slicing (`view_file`)\n- Safely write or overwrite files with automated syntax validation (`write_to_file`)\n- Safely patch text, replace spans, or apply context diffs (`patch_text`)\n\n---\n\n## Tool Selection Guide\n\n| Need | Recommended Tool | Key Capabilities |\n|:---|:---:|:---|\n| Locate files or folders by name | `find_by_name` | Glob patterns, depth limits, directory\u002Ffile filters, path exclusions |\n| Search code for text, tokens, or functions | `grep_search` | AST context tagging (functions\u002Fclasses), line numbers, file filters |\n| Inspect directory contents and metadata | `list_dir` | Markdown table with file types, sizes, timestamps, permissions |\n| Read source code or config files | `view_file` | Numbered lines, line ranges (`start_line`, `end_line`), memory caching |\n| Create or full-overwrite files safely | `write_to_file` | Automated syntax validation (Python, JSON, YAML, XML), auto `mkdir -p` |\n| Surgically patch or replace code in existing file | `patch_text` | Exact replace, line bounds, context patch, multi-replace, syntax safety |\n\n---\n\n## 1. The `find_by_name` Tool\n\nFind files or directories matching a glob pattern or filename with directory depth and exclusion filters.\n\n### 📝 PARAMETERS:\n- `search_directory`: **REQUIRED** - Absolute path of the root directory to search in.\n- `pattern`: *OPTIONAL* - Filename glob pattern (e.g. `\"*.py\"`, `\"*.json\"`). Default: `\"*\"` (all files).\n- `type`: *OPTIONAL* - Filter by item type: `\"file\"`, `\"directory\"`, or `\"any\"`. Default: `\"any\"`.\n- `max_depth`: *OPTIONAL* - Maximum directory depth to recurse. Default: unlimited.\n- `excludes`: *OPTIONAL* - Comma-separated path segments to exclude (e.g. `\"node_modules,__pycache__,.git\"`).\n- `full_path`: *OPTIONAL* - Match pattern against the full path instead of filename only (`\"true\"` \u002F `\"false\"`). Default: `\"false\"`.\n\n### 📋 HOW TO CALL THIS TOOL:\n\nFor CLI execution maps to this JSON payload:\n```json\n{\n    \"tool_name\": \"find_by_name\",\n    \"tool_args\": {\n        \"search_directory\":   \"\u002Fhome\u002Fuser_name\u002Fworkdir\u002Fmy-project\",\n        \"pattern\":            \"*.py\",\n        \"type\":               \"file\",\n        \"max_depth\":          \"3\",\n        \"excludes\":           \"node_modules,__pycache__,.git\",\n        \"full_path\":          \"false\"\n    }\n}\n```\n\n### 📁 Common Scenarios for `find_by_name`:\n\n#### Scenario A: Find all subdirectories\n```bash\nhuman-skills '{\n    \"tool_name\": \"find_by_name\",\n    \"tool_args\": {\n        \"search_directory\":   \"\u002Fhome\u002Fuser_name\u002Fworkdir\u002Fmy-project\",\n        \"type\":               \"directory\",\n        \"max_depth\":          \"2\"\n    }\n}'\n```\n\n#### Scenario B: Find configuration files excluding caches\n```bash\nhuman-skills '{\n    \"tool_name\": \"find_by_name\",\n    \"tool_args\": {\n        \"search_directory\":   \"\u002Fhome\u002Fuser_name\u002Fworkdir\u002Fmy-project\",\n        \"pattern\":            \"*.json\",\n        \"excludes\":           \"node_modules,dist,build,.cache\"\n    }\n}'\n```\n\n---\n\n## 2. The `grep_search` Tool\n\nHigh-speed code and text search across files with line numbers, code snippets, and AST context detection (classes, functions, async functions).\n\n### 📝 PARAMETERS:\n- `query`: **REQUIRED** - Text or symbol pattern to search for.\n- `search_path`: *OPTIONAL* - Root directory or specific file path to search in. Default: `\".\"`.\n- `case_insensitive`: *OPTIONAL* - Case-insensitive match (`\"true\"` \u002F `\"false\"`). Default: `\"false\"`.\n- `match_per_line`: *OPTIONAL* - Return each matching line with context (`\"true\"`), or filenames only (`\"false\"`). Default: `\"true\"`.\n- `includes`: *OPTIONAL* - Comma-separated glob patterns to restrict search to specific file types (e.g. `\"*.py,*.ts\"`).\n\n### 📋 HOW TO CALL THIS TOOL:\n\n```json\n{\n    \"tool_name\": \"grep_search\",\n    \"tool_args\": {\n        \"query\":              \"def execute\",\n        \"search_path\":        \"\u002Fhome\u002Fuser_name\u002Fworkdir\u002Fmy-project\",\n        \"case_insensitive\":   \"false\",\n        \"match_per_line\":     \"true\",\n        \"includes\":           \"*.py\"\n    }\n}\n```\n\n### 📁 Common Scenarios for `grep_search`:\n\n#### Scenario A: Find all files mentioning a term (fast file listing)\n```bash\nhuman-skills '{\n    \"tool_name\": \"grep_search\",\n    \"tool_args\": {\n        \"query\":              \"Settings\",\n        \"search_path\":        \"\u002Fhome\u002Fuser_name\u002Fworkdir\u002Fmy-project\u002Fsrc\",\n        \"match_per_line\":     \"false\",\n        \"includes\":           \"*.py\"\n    }\n}'\n```\n\n#### Scenario B: Case-insensitive search across documentation and code\n```bash\nhuman-skills '{\n    \"tool_name\": \"grep_search\",\n    \"tool_args\": {\n        \"query\":              \"authentication\",\n        \"search_path\":        \"\u002Fhome\u002Fuser_name\u002Fworkdir\u002Fmy-project\",\n        \"case_insensitive\":   \"true\",\n        \"match_per_line\":     \"true\",\n        \"includes\":           \"*.py,*.md\"\n    }\n}'\n```\n\n---\n\n## 3. The `list_dir` Tool\n\nInspect directory contents and display a clean Markdown table with file types, human-readable sizes, modification timestamps, and POSIX permissions.\n\n### 📝 PARAMETERS:\n- `directory_path`: **REQUIRED** - Absolute path to the directory to list.\n\n### 📋 HOW TO CALL THIS TOOL:\n\n```json\n{\n    \"tool_name\": \"list_dir\",\n    \"tool_args\": {\n        \"directory_path\":     \"\u002Fhome\u002Fuser_name\u002Fworkdir\u002Fmy-project\"\n    }\n}\n```\n\nExpected output:\n```markdown\nContents of `\u002Fhome\u002Fuser_name\u002Fworkdir\u002Fmy-project`:\n\n| Name | Type | Size | Modified | Permissions |\n|------|------|------|----------|-------------|\n| src\u002F | Dir | 12 files | 2026-09-20 14:30 | rwxr-xr-x |\n| tests\u002F | Dir | 5 files | 2026-09-20 14:25 | rwxr-xr-x |\n| main.py | File | 1.4 KB | 2026-09-20 14:28 | rw-r--r-- |\n| pyproject.toml | File | 850 B | 2026-09-20 11:00 | rw-r--r-- |\n| README.md | File | 2.1 KB | 2026-09-20 10:15 | rw-r--r-- |\n```\n\n### 📁 Common Scenarios for `list_dir`:\n\n#### Scenario A: Inspect source package directory\n```bash\nhuman-skills '{\n    \"tool_name\": \"list_dir\",\n    \"tool_args\": {\n        \"directory_path\":     \"\u002Fhome\u002Fuser_name\u002Fworkdir\u002Fmy-project\u002Fsrc\"\n    }\n}'\n```\n\n#### Scenario B: Check build output directory\n```bash\nhuman-skills '{\n    \"tool_name\": \"list_dir\",\n    \"tool_args\": {\n        \"directory_path\":     \"\u002Fhome\u002Fuser_name\u002Fworkdir\u002Fmy-project\u002Fdist\"\n    }\n}'\n```\n\n---\n\n## 4. The `view_file` Tool\n\nRead and inspect file contents with 1-indexed line numbers, total line count metadata, and optional line range slicing.\n\n### 📝 PARAMETERS:\n- `absolute_path`: **REQUIRED** - Absolute path to the file to view.\n- `start_line`: *OPTIONAL* - First line to display (1-indexed). Default: `1`.\n- `end_line`: *OPTIONAL* - Last line to display (inclusive). Default: show up to end of file.\n\n### 📋 HOW TO CALL THIS TOOL:\n\n```json\n{\n    \"tool_name\": \"view_file\",\n    \"tool_args\": {\n        \"absolute_path\":      \"\u002Fhome\u002Fuser_name\u002Fworkdir\u002Fmy-project\u002Fmain.py\",\n        \"start_line\":         \"1\",\n        \"end_line\":           \"15\"\n    }\n}\n```\n\n\n### 📁 Common Scenarios for `view_file`:\n\n#### Scenario A: View entire file from beginning\n```bash\nhuman-skills '{\n    \"tool_name\": \"view_file\",\n    \"tool_args\": {\n        \"absolute_path\":      \"\u002Fhome\u002Fuser_name\u002Fworkdir\u002Fmy-project\u002Fpyproject.toml\"\n    }\n}'\n```\n\n#### Scenario B: View specific function or error slice\n```bash\nhuman-skills '{\n    \"tool_name\": \"view_file\",\n    \"tool_args\": {\n        \"absolute_path\":      \"\u002Fhome\u002Fuser_name\u002Fworkdir\u002Fmy-project\u002Fsrc\u002Fservices.py\",\n        \"start_line\":         \"40\",\n        \"end_line\":           \"85\"\n    }\n}'\n```\n\n---\n\n## 5. The `write_to_file` Tool\n\nCreate new files or overwrite existing ones safely. Includes automatic parent directory creation (`mkdir -p`) and multi-language syntax checking.\n\n### 📝 PARAMETERS:\n- `target_file`: **REQUIRED** - Absolute path for the new file.\n- `code_content`: *OPTIONAL* - Content to write to the file. Default: empty string.\n- `overwrite`: *OPTIONAL* - Overwrite existing file if `\"true\"`. Default: `\"false\"`.\n- `auto_check`: *OPTIONAL* - Validate syntax before writing (`\"true\"` \u002F `\"false\"`). Default: `\"true\"`. Supports `.py` (`ast` + `py_compile`), `.json`, `.yaml`, `.xml`.\n- `strict_mode`: *OPTIONAL* - Block file creation on syntax errors if `\"true\"`. Default: `\"true\"`.\n\n### 📋 HOW TO CALL THIS TOOL:\n\n```json\n{\n    \"tool_name\": \"write_to_file\",\n    \"tool_args\": {\n        \"target_file\":        \"\u002Fhome\u002Fuser_name\u002Fworkdir\u002Fmy-project\u002Fsrc\u002Fconfig.py\",\n        \"code_content\":       \"PORT = 8080\\nDEBUG = True\\n\",\n        \"overwrite\":          \"true\",\n        \"auto_check\":         \"true\",\n        \"strict_mode\":        \"true\"\n    }\n}\n```\n\n### 📁 Common Scenarios for `write_to_file`:\n\n#### Scenario A: Create a new Python module\n```bash\nhuman-skills '{\n    \"tool_name\": \"write_to_file\",\n    \"tool_args\": {\n        \"target_file\":        \"\u002Fhome\u002Fuser_name\u002Fworkdir\u002Fmy-project\u002Fsrc\u002Fhelpers.py\",\n        \"code_content\":       \"def format_name(first: str, last: str) -> str:\\n    return f\\\"{first.strip()} {last.strip()}\\\"\\n\",\n        \"overwrite\":          \"false\",\n        \"auto_check\":         \"true\",\n        \"strict_mode\":        \"true\"\n    }\n}'\n```\n\n#### Scenario B: Create a JSON configuration file\n```bash\nhuman-skills '{\n    \"tool_name\": \"write_to_file\",\n    \"tool_args\": {\n        \"target_file\":        \"\u002Fhome\u002Fuser_name\u002Fworkdir\u002Fmy-project\u002Fconfig\u002Fsettings.json\",\n        \"code_content\":       \"{\\n  \\\"env\\\": \\\"production\\\",\\n  \\\"retries\\\": 3\\n}\\n\",\n        \"overwrite\":          \"true\",\n        \"auto_check\":         \"true\"\n    }\n}'\n```\n\n#### Scenario C: Create an empty placeholder file\n```bash\nhuman-skills '{\n    \"tool_name\": \"write_to_file\",\n    \"tool_args\": {\n        \"target_file\":        \"\u002Fhome\u002Fuser_name\u002Fworkdir\u002Fmy-project\u002Fsrc\u002F__init__.py\",\n        \"code_content\":       \"\",\n        \"overwrite\":          \"true\"\n    }\n}'\n```\n\n---\n\n## 6. The `patch_text` Tool\n\nSafely replace code blocks, text spans, line ranges, or multiple non-contiguous chunks in files with integrated syntax validation.\n\n### 📝 PARAMETERS:\n- `TargetFile`: **REQUIRED** - Absolute path to the file to edit (alias: `target_file`, `path`).\n- `TargetContent`: *OPTIONAL* - Exact text or code block to replace for a single edit (alias: `old_text`, `target_content`).\n- `ReplacementContent`: *OPTIONAL* - Replacement text or code block (alias: `new_text`, `replacement_content`). Default: `\"\"` (deletion).\n- `StartLine`: *OPTIONAL* - 1-based start line to restrict replacement range (alias: `start_line`).\n- `EndLine`: *OPTIONAL* - 1-based end line to restrict replacement range (alias: `end_line`).\n- `AllowMultiple`: *OPTIONAL* - Replace all occurrences if `\"true\"`. Default: `\"false\"` (alias: `allow_multiple`).\n- `ReplacementChunks`: *OPTIONAL* - Array of chunk objects for multiple non-contiguous replacements: `[{\"TargetContent\": str, \"ReplacementContent\": str, \"StartLine\": int, \"EndLine\": int, \"AllowMultiple\": bool}]` (alias: `replacement_chunks`, `chunks`).\n- `auto_check`: *OPTIONAL* - Validate syntax before saving (`\"true\"` \u002F `\"false\"`). Default: `\"true\"`.\n- `strict_mode`: *OPTIONAL* - Abort replacement on syntax errors (`\"true\"` \u002F `\"false\"`). Default: `\"false\"`.\n\n### 📋 HOW TO CALL THIS TOOL:\n\n#### Scenario A: Exact code replacement (Single block)\n```bash\nhuman-skills '{\n    \"tool_name\": \"patch_text\",\n    \"tool_args\": {\n        \"TargetFile\":         \"\u002Fhome\u002Fuser_name\u002Fworkdir\u002Fmy-project\u002Fsrc\u002Fservice.py\",\n        \"TargetContent\":      \"def get_user():\\n    return None\",\n        \"ReplacementContent\": \"def get_user():\\n    return User(id=1)\"\n    }\n}'\n```\n\n#### Scenario B: Line-bounded replacement (Safe targeting)\n```bash\nhuman-skills '{\n    \"tool_name\": \"patch_text\",\n    \"tool_args\": {\n        \"TargetFile\":         \"\u002Fhome\u002Fuser_name\u002Fworkdir\u002Fmy-project\u002Fsrc\u002Fconfig.py\",\n        \"TargetContent\":      \"PORT = 3000\",\n        \"ReplacementContent\": \"PORT = 8080\",\n        \"StartLine\":          \"10\",\n        \"EndLine\":            \"25\"\n    }\n}'\n```\n\n#### Scenario C: Multi-chunk replacement (Multiple non-contiguous locations simultaneously)\n```bash\nhuman-skills '{\n    \"tool_name\": \"patch_text\",\n    \"tool_args\": {\n        \"TargetFile\": \"\u002Fhome\u002Fuser_name\u002Fworkdir\u002Fmy-project\u002Fsrc\u002Fapp.py\",\n        \"ReplacementChunks\": [\n            {\n                \"StartLine\": 5,\n                \"EndLine\": 7,\n                \"TargetContent\": \"PORT = 3000\",\n                \"ReplacementContent\": \"PORT = 8080\"\n            },\n            {\n                \"StartLine\": 20,\n                \"EndLine\": 25,\n                \"TargetContent\": \"DEBUG = False\",\n                \"ReplacementContent\": \"DEBUG = True\"\n            },\n            {\n                \"StartLine\": 50,\n                \"EndLine\": 55,\n                \"TargetContent\": \"TIMEOUT = 10\",\n                \"ReplacementContent\": \"TIMEOUT = 30\"\n            }\n        ]\n    }\n}'\n```\n\n---\n\n## ⚠️ Important Rules & Best Practices\n\n1. **All values in `tool_args` must be strings**:\n   - Numbers and booleans must be quoted strings: `\"max_depth\": \"3\"`, `\"match_per_line\": \"true\"`, `\"start_line\": \"1\"`.\n2. **Always supply absolute paths**:\n   - Use absolute paths (e.g. `\u002Fhome\u002Fuser\u002Fproject\u002F...`) to ensure deterministic behavior across subshells.\n3. **Safety First on File Writes**:\n   - `write_to_file` will refuse to overwrite existing files unless `\"overwrite\": \"true\"` is explicitly passed.\n   - If syntax validation fails in strict mode, the file is not written and specific errors with line numbers are returned.\n4. **Token Efficiency**:\n   - Use `view_file` with `start_line` and `end_line` for targeted reviews rather than dumping massive files.\n   - Use `grep_search` with `includes` to avoid searching irrelevant directories and files.\n",{"name":5,"tags":44,"author":53,"version":54,"description":7,"trigger_patterns":55},[45,46,24,37,47,48,49,50,51,52],"filesystem","tools","grep","file-reader","file-writer","list-dir","patch","replace","Human Skills Team","1.2.0",[56,57,58,59,60,61,62,63,64,65,66],"find files","search codebase","grep search","list directory","view file","read file","write file","create file","patch text","patch file","replace file content","main","74715deacdc69119d739f38916f8ee4f0f979ebf","skills\u002Fstorage\u002Fmy_skills\u002Fhuman-skills-tools",0,"https:\u002F\u002Fgithub.com\u002Fmdnaimul22\u002Fhuman-skills","https:\u002F\u002Fgithub.com\u002Fmdnaimul22","AI Agents Workflows Automation | Specializing in Python, FastAPI, MCP Agents & Custom ERP.","2026-11-11 21:16:57",{"source":8,"skillName":5,"commands":76,"prompt":86,"zipAvailable":87},[77,80,83],{"tool":78,"command":79},"npx","npx skills add mdnaimul22\u002Fhuman-skills --skill human-skills-tools",{"tool":81,"command":82},"bunx","bunx skills add mdnaimul22\u002Fhuman-skills --skill human-skills-tools",{"tool":84,"command":85},"pnpm","pnpm dlx skills add mdnaimul22\u002Fhuman-skills --skill human-skills-tools","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fmdnaimul22\u002Fhuman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fstorage\u002Fmy_skills\u002Fhuman-skills-tools\u002FSKILL.md",true,[89,95,99,103,107,111],{"path":90,"resourceType":91,"resourceTypeDesc":92,"sizeBytes":93,"sourceHtmlUrl":94},"scripts\u002Ffind_by_name.py","SCRIPT","脚本",7501,"https:\u002F\u002Fgithub.com\u002Fmdnaimul22\u002Fhuman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fstorage\u002Fmy_skills\u002Fhuman-skills-tools\u002Fscripts\u002Ffind_by_name.py",{"path":96,"resourceType":91,"resourceTypeDesc":92,"sizeBytes":97,"sourceHtmlUrl":98},"scripts\u002Fgrep_search.py",8914,"https:\u002F\u002Fgithub.com\u002Fmdnaimul22\u002Fhuman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fstorage\u002Fmy_skills\u002Fhuman-skills-tools\u002Fscripts\u002Fgrep_search.py",{"path":100,"resourceType":91,"resourceTypeDesc":92,"sizeBytes":101,"sourceHtmlUrl":102},"scripts\u002Flist_dir.py",3867,"https:\u002F\u002Fgithub.com\u002Fmdnaimul22\u002Fhuman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fstorage\u002Fmy_skills\u002Fhuman-skills-tools\u002Fscripts\u002Flist_dir.py",{"path":104,"resourceType":91,"resourceTypeDesc":92,"sizeBytes":105,"sourceHtmlUrl":106},"scripts\u002Fpatch_text.py",11928,"https:\u002F\u002Fgithub.com\u002Fmdnaimul22\u002Fhuman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fstorage\u002Fmy_skills\u002Fhuman-skills-tools\u002Fscripts\u002Fpatch_text.py",{"path":108,"resourceType":91,"resourceTypeDesc":92,"sizeBytes":109,"sourceHtmlUrl":110},"scripts\u002Fview_file.py",5294,"https:\u002F\u002Fgithub.com\u002Fmdnaimul22\u002Fhuman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fstorage\u002Fmy_skills\u002Fhuman-skills-tools\u002Fscripts\u002Fview_file.py",{"path":112,"resourceType":91,"resourceTypeDesc":92,"sizeBytes":113,"sourceHtmlUrl":114},"scripts\u002Fwrite_to_file.py",3492,"https:\u002F\u002Fgithub.com\u002Fmdnaimul22\u002Fhuman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fstorage\u002Fmy_skills\u002Fhuman-skills-tools\u002Fscripts\u002Fwrite_to_file.py",[116,124,132,139,146,153],{"skillNo":117,"name":118,"nameZh":6,"description":119,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":120,"categories":121,"keywords":122,"publishedAt":123},"01M767791C1KRP2ZRW2Z73VZ5Q","system-lifecycle-designer","Universal architectural methodology for designing granular, atomic, and sub-atomic lifecycles and end-to-end workflows for single functionality integrations across any domain (daemons, batch jobs, request transactions, resource pools). Provides patterns for deterministic identity, pre-commit validation, differential reconciliation, sticky leasing, state machines, transactional persistence, and closed-loop feedback.","https:\u002F\u002Fgithub.com\u002Fmdnaimul22\u002Fhuman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fstorage\u002Fmy_skills\u002Fsystem-lifecycle-designer\u002FSKILL.md",[],[],"2026-11-12 13:55:43",{"skillNo":125,"name":126,"nameZh":6,"description":127,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":128,"categories":129,"keywords":130,"publishedAt":131},"01M748ABPN5F1FANHH6HKZQMXT","style-sampling","Make a new episode in a proven video style - Collage Explainer, Finance Explainer, Animated Science Explainer, 3D Brand Explainer, 3D True Crime - on the person's topic. Use for \"an episode of\", \"in the style of\", \"sample this style\", 「用这个风格做一集」. One video to copy is reverse-any-video.","https:\u002F\u002Fgithub.com\u002Fmdnaimul22\u002Fhuman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fstorage\u002Fheygen-com_hyperframes\u002Fstyle-sampling\u002FSKILL.md",[],[],"2026-11-11 15:11:14",{"skillNo":133,"name":134,"nameZh":6,"description":135,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":136,"categories":137,"keywords":138,"publishedAt":131},"01M748A59V04PKW4HA0XQ81FGP","reverse-any-video","Rebuild any video file as an editable HyperFrames project - motion graphics, talking heads, live action or AI-generated footage - checked against the original frame by frame. Use to reverse, recreate, remake, replicate or copy a video, or 「复刻这个视频」「照着这个视频做一个」.","https:\u002F\u002Fgithub.com\u002Fmdnaimul22\u002Fhuman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fstorage\u002Fheygen-com_hyperframes\u002Freverse-any-video\u002FSKILL.md",[],[],{"skillNo":140,"name":141,"nameZh":6,"description":142,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":143,"categories":144,"keywords":145,"publishedAt":131},"01M7487T50P55CSXMWXZ0G9KRG","typescript-patterns","TypeScript patterns for strict, type-safe, maintainable code in modern TypeScript and JavaScript applications. Covers strict compiler configuration, type design, narrowing, discriminated unions, generics, async and error handling, module boundaries, dependency hygiene, and type-level testing. Use when writing or reviewing TypeScript or JavaScript code.","https:\u002F\u002Fgithub.com\u002Fmdnaimul22\u002Fhuman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fstorage\u002Faffaan-m_ECC\u002Ftypescript-patterns\u002FSKILL.md",[],[],{"skillNo":147,"name":148,"nameZh":6,"description":149,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":150,"categories":151,"keywords":152,"publishedAt":131},"01M7487ERZRGPC5NJ75077Y238","test-collaboration","Inventory and govern a project's test assets. Connect requirements, business rules, risks, bugs, and cross-boundary contracts to stable TEST-IDs and executable evidence in the repository's existing test registry or TESTS.md. Use for test inventory, test gap analysis, unit\u002Fintegration\u002Fcontract\u002FE2E\u002Fsmoke classification, bug-to-test regression protection, consumer\u002Fprovider contract testing, test-necessity review, and pre-delivery evidence review.","https:\u002F\u002Fgithub.com\u002Fmdnaimul22\u002Fhuman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fstorage\u002Faffaan-m_ECC\u002Ftest-collaboration\u002FSKILL.md",[],[],{"skillNo":154,"name":155,"nameZh":6,"description":156,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":157,"categories":158,"keywords":159,"publishedAt":131},"01M748721J3GKR2WS6K0QWFC35","story-lifecycle","Manage a file-based epic → story → sprint development loop without requiring an external project management tool. Creates and tracks epics, breaks them into user stories, assigns them to sprints, and drives implementation story by story. Use when starting a new feature initiative or when the team has no Jira\u002FLinear\u002FTaiga but needs structured delivery tracking.","https:\u002F\u002Fgithub.com\u002Fmdnaimul22\u002Fhuman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fstorage\u002Faffaan-m_ECC\u002Fstory-lifecycle\u002FSKILL.md",[],[]]