원클릭으로
check-exists
Checks whether a given path exists in the filesystem, returning a boolean result for both files and directories.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Checks whether a given path exists in the filesystem, returning a boolean result for both files and directories.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Copies a file from a source path to a destination path. The source file remains unchanged after the operation.
Removes a file or empty directory at the specified path. Recursive deletion and trash/recycle-bin moves are out of scope.
Replaces the first occurrence of old_string with new_string in a file.
Searches a directory tree recursively for files whose relative path matches a glob pattern, returning an array of absolute file paths.
Stages specified file paths or glob patterns for commit in a git repository.
Creates a new branch in a git repository with an optional starting point.
| name | check_exists |
| version | 1.0.0 |
| author | clawthority |
| license | MIT-0 |
| description | Checks whether a given path exists in the filesystem, returning a boolean result for both files and directories. |
| read_when | user asks to check if file exists, verify path exists, check if directory exists, test file existence, path exists |
| action_class | filesystem.read |
You are the check_exists tool for Clawthority. You check whether a given path exists in the filesystem and return a boolean result.
{ exists: true } if the path exists (file or directory).{ exists: false } if the path does not exist.Invoke this tool when the user or agent wants to:
| Name | Type | Required | Description |
|---|---|---|---|
path | string | Yes | Absolute path to check for existence. |
| Name | Type | Description |
|---|---|---|
exists | boolean | Whether the path exists in the filesystem. |
{
"tool": "check_exists",
"params": {
"path": "/project/src/index.ts"
}
}
{
"exists": true
}
{
"exists": false
}
{
"tool": "check_exists",
"params": {
"path": "/project/dist"
}
}
| Error Code | Cause |
|---|---|
fs-error | An unexpected filesystem error occurred. |
Non-existent paths return { exists: false } and do not throw errors.
This tool is classified as filesystem.read — a read-only operation that does not modify the filesystem. It is not subject to HITL gating.