사용 방법
- 설치 명령을 복사하고 자신의 에이전트 환경에 설치하기 전에 소스 패키지를 확인하세요.
- 필요한 도구, 인증 정보, 지원 환경은 원본 문서에서 확인하세요.
- 입력과 원하는 산출물을 설명하고 출처와 결과를 대조하세요.
npx skills add https://github.com/holistics/anfra-skills --skill anfra-run-aql시작 전 확인
- 설치에는 모델 구독, API 한도, 파일 접근 권한이 포함되지 않습니다.
- 별점 수와 설치 수는 활동 지표이며 독립적인 품질·보안 검증이 아닙니다.
원본 저장소의 제목, 예시, 코드, 표, 링크, 이미지를 유지해 표시합니다.
Running AQL
Command (swappable per scenario)
Default (Anfra) — compile and run against a dataset:
anfra query --dataset <uname> '<query>'
# or
cat query.aql | anfra query --dataset <uname>
# the compiled SQL, without running it
anfra query compile --dataset <uname> '<query>'An invalid query fails (exit 1) and prints its diagnostics; fix it with [](../anfra-validate-aql/).
How many rows come back
anfra query (and the MCP query tool) answers one page: the first 10,000 rows, or --page-size rows of --page. has_more: true means rows were left out, so read it before treating a result as complete, and never report a count, a sum or "all rows" from a page that has more.
This cap is the command's, not the data's or anfra's: a Data App's query gets every row unless it declares a pageSize, and anfra query export writes the whole result to a file. To answer a question, ask the query for what you need (aggregate, filter, limit:) rather than fetching rows to count them.
Replace this command for other runtimes if needed.
Writing correct queries
Use [](../anfra-aql/) (syntax, functions, gotchas) and [](../anfra-write-aql/) (workflow) to write the query, and [](../anfra-validate-aql/) to type-check it before running.
anfra skills 0.21.0