verify-directory-structure
하는 일
이 스킬은 파일 접근 문제를 고치는 간단한 방법을 제공합니다. 먼저 폴더를 확인한 다음 작업을 다시 시도합니다. 에이전트가 예상한 위치에서 파일을 열거나 저장하지 못하는 사람을 위한 스킬입니다.
사용하는 경우
- ✓스크립트나 파일 작업이 폴더가 없는 것처럼 보여서 실패할 때.
- ✓파일을 읽거나 저장하지 못하는 권한 문제가 의심될 때.
- ✓작업을 실행하기 전에 폴더 구조를 확인하고 싶을 때.
스킬 링크
https://github.com/HKUDS/AgentPilot/blob/main/openspace/legacy/v1/showcase/skills/verify-directory-structure/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“제가 알려 준 폴더가 있는지 확인하고, 없으면 고쳐 주실 수 있나요?”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
에이전트는 폴더와 그 내용을 나열한 뒤, 없으면 만들거나 권한을 고치고, 원래 단계를 다시 시도합니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
Verify Directory Structure
This skill provides a systematic approach to diagnosing and resolving file access issues by first verifying the directory structure. It is particularly useful when dealing with file operations, script executions, or any task that involves accessing files.
Steps
- Identify the Target Path: Determine the file or directory path that is causing the access issue.
- Check Directory Existence: Use the
list_dirtool to verify if the directory exists and inspect its contents. - Verify Permissions: Ensure that the user has the necessary permissions to access the directory and its contents.
- Resolve Path Issues: If the directory does not exist, create it using appropriate commands or scripts. If permissions are insufficient, adjust them accordingly.
- Retry the Operation: After resolving the directory structure issues, retry the original operation.
Example
# Example of using the list_dir tool to verify directory structure
list_dir --path "/path/to/directory"
Best Practices
- Always verify the directory structure before performing file operations.
- Use absolute paths to avoid ambiguity.
- Log the directory structure for debugging purposes if issues persist.
자주 묻는 질문
폴더가 없으면 어떻게 하나요?
폴더를 만든 다음 작업을 다시 시도하라고 스킬은 안내합니다.
전체 파일 경로를 써야 하나요?
네. 혼동을 피하기 위해 스킬은 절대 경로를 권합니다.
문제가 계속되면 어떻게 하나요?
원인을 더 쉽게 찾도록 폴더 내용을 기록하라고 스킬은 제안합니다.
상세 정보
작성자의 원본 설명
Diagnose and resolve file access issues by first verifying the directory structure.
repo: HKUDS/AgentPilot
인기도
- GitHub 스타
- 7.8k
- 순위
- #13090
- 라이선스
- MIT
- 업데이트
- 2026. 11. 1.
댓글
- …
이 저장소의 다른 스킬
agentpilot
7.8k작업을 준비하고 AgentPilot 루프를 실행해 변경을 제안, 테스트, 점수화하면서 프로젝트를 단계적으로 개선하도록 돕습니다.
openspace
7.8k에이전트 스킬을 저장하고 가져오는 도구인 OpenSpace를 설정하고, MCP를 통해 AI 앱에 연결하도록 돕습니다.
rsi-arena
7.8kAIME나 Terminal-Bench 같은 표준 AI 벤치마크 테스트를 설정하고 실행해 서로 다른 개선 방법을 비교하도록 돕습니다.
experiment-guide
7.8k프로그램을 개선하는 방법을 조사하면서 작은 실험을 계획하고, 결과를 읽고, 발견 사항을 기록하도록 돕습니다.