Borrowing it
Nothing to install: this file belongs to fix-a-lot/crawl4ai-local-for-windows. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/fix-a-lot/crawl4ai-local-for-windows/main/.claude/commands/sync-upstream.mdgit clone --depth 1 https://github.com/fix-a-lot/crawl4ai-local-for-windowsWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/commands/fix-a-lot/crawl4ai-local-for-windows/sync-upstream)<a href="https://agentmods.dev/commands/fix-a-lot/crawl4ai-local-for-windows/sync-upstream"><img src="https://agentmods.dev/badge/commands/fix-a-lot/crawl4ai-local-for-windows/sync-upstream/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/commands/fix-a-lot/crawl4ai-local-for-windows/sync-upstream"><img src="https://agentmods.dev/badge/commands/fix-a-lot/crawl4ai-local-for-windows/sync-upstream.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00026 | $0.01210 |
| Opus 5.5 | $0.00010 | $0.00484 |
| Sonnet 5.5 | $0.00005 | $0.00242 |
| Haiku 4.5 | $0.00003 | $0.00121 |
Grade A, and why
sync-upstream scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 27d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 69 lines — stays where its author put it; the contents beside it link to each section on GitHub.
공식 저장소(unclecode/crawl4ai)의 새 릴리스를 확인하고, 이 저장소의 crawl4ai 의존성을 올린 뒤 깨지거나 바뀐 부분을 소스에 반영한다.
인자
$ARGUMENTS가 targetVersion이다 (없을 수 있음). 없으면 최신 정식 릴리스를 대상으로 한다. pre-release는 인자로 명시했을 때만 대상으로 삼는다.
1. 버전 확인
- 현재 버전:
uv pip show crawl4ai의 설치 버전과pyproject.toml의crawl4ai>=하한을 함께 확인한다.uv.lock은.gitignore대상이라 기기마다 다를 수 있다. - 대상 버전:
gh api 'repos/unclecode/crawl4ai/releases?per_page=10' --jq '.[] | select(.prerelease == false) | .tag_name + " " + .published_at'.gh를 쓸 수 없으면https://pypi.org/pypi/crawl4ai/json의info.version을 쓴다. - 현재 버전이 대상 버전과 같거나 더 높으면 "최신 상태"라고 보고하고 끝낸다. 파일은 수정하지 않는다.
2. 변경 사항 조사
- 현재 버전 이후 대상 버전까지의 릴리스 노트(
gh api repos/unclecode/crawl4ai/releases/tags/<tag> --jq .body)와CHANGELOG.md(gh api repos/unclecode/crawl4ai/contents/CHANGELOG.md --jq .content | base64 -d)를 읽는다. - 이 저장소가 실제로 쓰는 crawl4ai API를 하드코딩된 목록이 아니라 소스에서 직접 뽑는다:
grep -n "crawl4ai\|CrawlerRunConfig\|BrowserConfig\|CrawlResult\|CacheMode\|ExtractionStrategy\|arun\|result\." src/. - 아래 항목에 해당하는 변경만 골라낸다.
- 사용 중인 클래스, 함수, 파라미터의 제거, 이름 변경, 기본값 변경, deprecated 처리
CrawlResult필드(success,error_message,markdown,extracted_content,screenshot)와arun반환 타입(CrawlResultContainer)의 변화JsonCssExtractionStrategy스키마 형식 변화- 브라우저 붕괴 감지 문자열(
_looks_like_browser_crash*)에 영향을 주는 Playwright 오류 메시지나 브라우저 재활용 방식의 변화 - 브라우저 설치 절차(
crawl4ai-setup)나 Python 버전 요구 사항의 변화
- 확인할 수 없는 항목은 추측하지 말고 "확인 불가"로 남긴다.
3. 업그레이드
uv add "crawl4ai>=<대상 버전>"으로 하한을 올리고 lock과 환경을 갱신한다. 다른 의존성의 범위는 건드리지 않는다.- 릴리스 노트에 Playwright나 브라우저 버전 변경이 있으면
uv run crawl4ai-setup을 실행한다.
4. 소스 반영
- 2단계에서 고른 변경 중 이 저장소에 영향이 있는 것만
src/crawl4ai_local/server.py에 반영한다. 관련 없는 리팩터링은 하지 않는다. - MCP 도구의 이름, 인자, 반환 형식은 바꾸지 않는다. upstream 변경 때문에 바꿀 수밖에 없다면 수정하기 전에 사용자에게 묻는다.
- 새로 생긴 upstream 기능은 구현하지 않는다. 쓸 만한 기능은 보고에 제안으로만 적는다.
- 도구의 동작이나 설치 절차가 바뀌었으면
README.md와README.ko.md를 함께 갱신한다.
5. 검증
아래를 모두 실행하고 결과를 그대로 보고한다. 실패를 규칙 비활성화, # type: ignore, cast로 덮지 않는다.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 27d ago First seen · 69 lines · 26 tokens per session scan A 22ecacb7f399
sync-upstream is a command published in the GitHub repository fix-a-lot/crawl4ai-local-for-windows (1 stars, last pushed 28d ago), licensed Unlicense. It adds 26 tokens to every session and 1,210 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-10.
sync-upstream compared with commands from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| sync-upstreamfix-a-lot/crawl4ai-local-for-windows | Command | 1 | 28d ago | Unlicense | A | 26 | Claude Code |
| landgmickel/flow-next | Command | 717 | yesterday | MIT | A | 13 | Claude Code |
| qualityDesko77/claude-code-skills-1c | Command | 90 | 2d ago | MIT | A | 18 | Claude Code |
| release-notesOpenHands/extensions | Command | 176 | yesterday | MIT | A | 44 | Claude Code |
| release-managerruvnet/agentic-flow | Command | 838 | yesterday | none | A | 0 | Claude Code |
| create-prdsswift/ion | Command | 5 | 2d ago | MIT | A | 28 | Claude Code |
| rally-merge-prddgonzal3/rally | Command | 6 | 3d ago | MIT | A | 0 | Claude Code |