匠人学院 JR Academy
  • Position

    Where am I now, and where should I go?

    How your job is changing, where your experience can take you and what you still need for a target role, worked out from what you have actually done. Free, and the full result needs no sign-up.

    Analyse my career and skills

    Look up a career

    Will AI replace my job?AI impact and transition paths for common careersNew jobs in the AI eraWhat they do, what they need, how to move in

    Focused tools

    AI Engineer interview readiness30 timed questions on what you still need before interviewsCareer personality testDirections that suit how you workReturning to China checkJob prospects in China by school, major and graduation date

    AI coach

    Talk to your AI coachStill unsure after your result? Talk through what is holding you back
  • Core courses

    AI Engineer BootcampEngineering bootcamp from LLM apps to agentsAI Engineer Full-Stack Project Class16 weeks · RAG and full-stack AI projectsVibe Coding Masterclass8 weeks · direct agents to build and ship a productAI Essentials10 hours · use AI for email, reports, data and copyAI Office Automation Course8 weeks · help a whole company adopt AIOne-Person Company (OPC) Bootcamp15 weeks in person · build a one-person company with AIAll courses →

    AI engineering

    Machine Learning & Data Engineering Full-Stack ClassAI Agent & MCP Project BootcampAI Engineer Core TechniquesAI Engineer FoundationsAI Engineer Advanced: RAG to Agents and TuningClaude Code TasterAll AI engineering courses →

    AI at work

    AI Coding for everyoneClaude Code One-Day Masterclass (Non-Technical)Enterprise AI Automation BootcampAI Marketing BootcampAI Risk, Governance and Audit CourseOpenClaw 4-Week Personal AI Assistant BootcampAll AI-at-work courses →

    Career development

    AI Product Manager (BA) Bootcamp + InternshipAustralia IT Interview BootcampAustralia IT Technical Interview BootcampAustralia IT Resume BootcampAustralia Big Tech Job Search BootcampAustralia IT Career Planning BootcampAll career courses →

    Learn free first

    Vibe CodingAI for office workPrompt MasterAI EngineerAI data analysisResource centerInstructorsAll learning paths →
  • Evidence

    What will convince an employer?

    Certifications, projects, team work and competition entries, collected into one portfolio.

    See the portfolio

    Certifications

    Cert Master · all certificationsPrep and mock exams for AWS, Azure, GCP, Claude and moreAWS CLF-C02Entry-level AWS cloud certificationAWS SAA-C03Entry certification for cloud architectsClaude certificationsAnthropic Claude certification seriesAll certifications →

    Projects and team work

    P3 team projectsBuild a project with real teammates in a simulated team workflowP3 project experienceThe parts of a P3 project that go on your resumeDemo DayProject showcaseP3 certificatesProof once a project is completeAll of P3 →

    Competitions and work

    HackathonsBuild something against the clockSubmit your workAdd your project to the showcaseCareerOS portfolioDo tasks in the desktop app; your results become portfolio pieces
    Cert MasterBrowser extension, app and mini programScreenshot a question for analysis and practise anywhereAbout Cert Master
  • Connect

    How do I get myself in front of employers?

    Resume, interviews, referrals and mentors. See how far you are from the target role first, then decide what to fix.

    Start with Jobpin

    Resume and openings

    Graduate careersGraduate preparation across Australia, China, Malaysia, Singapore, the US and UKJobpinAI job search workspace: resume, roles, applicationsAI resumeRewrite your resume against a job descriptionReferralsRoles shared by students and mentorsOpportunitiesInternships, projects and collaborationsOffer boardOffers students have received

    Interviews

    AI Engineer interview guideSeven areas, with worked examplesFDE interview guideFive rounds, from scoping to the customer roundAI mock interviewPractise by text or voice and see the gapsInterview storiesReal interview experiencesSystem Design handbookPrepare for system design interviewsAll interview prep →

    Mentors

    1:1 mentorsBook AI, career and technical mentors by the hourGroup tutoringShare a tutor with a few others and pay less eachCareer coachingResume, interview and direction packages
    Jobpin desktopOne workspace for the whole job searchOrganise real experience and refine resume versions for target roles on macOS or Windows.About Jobpin
BusinessMembershipDownload CareerOS
0
匠人学院 JR Academy

Follow Us

linkedinfacebooktwitterinstagramyoutube

We Accept

/image/layout/pay-paypal.png/image/layout/pay-visa.png/image/layout/pay-master-card.png/image/layout/pay-airwallex.png/image/layout/pay-alipay.png
Airbotix · AI learning & creation for kids Another Life · AI story game
Products46

CareerOS and tools

  • CareerOS
  • Cert Master
  • Jobpin
  • Jobpin web
  • Jobpin report
  • Jobpin desktop download
  • My job search reports
  • Buy report credits
  • Jobpin billing
  • AI Toolbox
  • AI Skill Marketplace

Membership

  • Membership
  • AI membership

Courses

  • Bootcamps
  • Training Camp
  • Kanban learning
  • AI Builder course
  • MCP course
  • NotebookLM workshop
  • Business Analyst course
  • Web Full-Stack Bootcamp
  • DevOps Bootcamp
  • Data Engineering Bootcamp
  • Data Analysis Bootcamp
  • Coding for Beginners
  • Algorithm Bootcamp

Career services

  • Graduate careers
  • Graduate careers in Australia
  • Graduate careers in China
  • Graduate careers in Malaysia
  • Graduate careers in Singapore
  • Graduate careers in the US
  • Graduate careers in the UK
  • 1:1 coaching
  • Career coaching
  • AI Engineer VIP
  • BA & PM Internship
  • Data Science Internship
  • Data Analysis Internship
  • Marketing Internship
  • Resume Review
  • Interview Coaching
  • Job Application Service
  • Job Monitoring
  • LinkedIn Management
  • LinkedIn Networking
Library57

Learning paths

  • All Learning Paths
  • AI Engineer
  • Context Engineering
  • Vibe Coding
  • Prompt Master
  • AI Builder
  • AI Product Manager
  • Python Basics
  • AI Productivity
  • AI Data Analysis
  • AI Finance
  • AI Content Creation
  • AI Image Creation
  • Frontend Development
  • Hermes Agent
  • OpenClaw Local Agent

Interactive labs

  • Prompt Lab
  • Frontend Lab
  • JavaScript Lab
  • Python Lab
  • AWS Lab
  • Azure Lab
  • LLM Lab
  • Git Lab

Reference and guides

  • Resources
  • Wiki
  • Cheat sheets
  • Roadmaps
  • AI roadmaps
  • Videos
  • Ebooks
  • Blog
  • Interview handbook
  • Mock exams
  • Free resources

Cities

  • Sydney
  • Melbourne
  • Brisbane
  • Adelaide
  • Singapore
  • Kuala Lumpur
  • London
  • New York
  • San Francisco
  • Los Angeles
  • Seattle
  • Toronto
  • Vancouver

Immigration

  • Australia Immigration
  • Skilled Visa 189/190/491
  • Employer Sponsored 482/186/494
  • Business Visa 188/888
  • UK Immigration
  • US Immigration
  • Canada Immigration
  • Singapore immigration
  • Malaysia immigration
Business20

For business

  • AI for Business
  • Business portal sign-in
  • Corporate Training
  • Internship Partnership
  • Recruitment Partnership
  • Enterprise (EN)

Metatree AI Lab

  • Metatree AI Lab (Chinese)
  • AI solutions (Chinese)
  • Digital employees (Chinese)
  • Case studies (Chinese)
  • Metatree AI Lab
  • AI services
  • Digital employees
  • Case studies

AI education for kids

  • Airbotix — AI Learning & Creation for Kids
  • AU Family Resource Hub
  • NAPLAN Report Guide
  • My School Data Guide
  • Sydney Private School Fees 2026
  • Kids Coding Programs
About15

Company

  • About Us
  • Our Mentors
  • Become a Mentor
  • Metaverse Classroom
  • JR Careers
  • Another Life — AI Story Game
  • Contact Us

Help and policies

  • FAQs
  • Terms & Conditions
  • Privacy Policy
  • Cancellation & Refund Policy
  • Site map

Friend links

  • CS Browser

Contact

  • hello@jiangren.com.au
  • 0421-672-555

Offices

Level 10b, 144 Edward Street, Brisbane CBD (Headquarter)
Level 2, 171 La Trobe St, Melbourne VIC 3000
45A13, Block B, Oriental Hope Tianxiang Plaza, 500 Tianfu Avenue Middle Section, Wuhou District, Chengdu, Sichuan, China
Business Hub, 155 Waymouth St, Adelaide SA 5000
Disclaimer
footer-disclaimerfooter-disclaimer

JR Academy acknowledges Traditional Owners of Country throughout Australia and recognises the continuing connection to lands, waters and communities. We pay our respect to Aboriginal and Torres Strait Islander cultures; and to Elders past and present. Aboriginal and Torres Strait Islander peoples should be aware that this website may contain images or names of people who have since passed away.

All content on the JR Academy website, including course materials, logos, and information provided, is protected under Australian intellectual property laws. Unauthorized use, sale, distribution, reproduction, or modification is strictly prohibited. Violations may result in legal action. By accessing our website, you agree to respect our intellectual property. JR Academy Pty Ltd reserves all rights, including patents, trademarks, and copyrights. Any infringement will be subject to legal prosecution. View Terms of Service

© 2017-2026 JR Academy Pty Ltd. All rights reserved.

ABN 26621887572

HomeLearnCoursesCerts
  1. Home
  2. Learn
  3. Blog
  4. Cline 实战手册:开源免费的 VS Code AI 编程 Agent — 常见问题、定价与选型建议
JR Academy · BlogCareer insights

Cline 实战手册:开源免费的 VS Code AI 编程 Agent — 常见问题、定价与选型建议

Cline 完整定价分析、常见坑和解决方案、Cline vs Cursor vs Claude Code 到底选哪个

Published2026-12-01
Reading time2 min
Author

Contents

  • 常见问题
  • Cline 改错代码了怎么办?
  • 上下文窗口满了怎么办?
  • API 报错 "rate limit exceeded"?
  • Cline 能用中文对话吗?
  • JetBrains 能用吗?
  • 定价详解
  • 各模型实际成本参考
  • Cline vs Cursor vs Claude Code 定价对比
  • 选型决策树
  • 最佳实践总结

常见问题

Cline 改错代码了怎么办?

Cline 内置 Checkpoint 机制——每步操作前自动保存工作区快照。在对话面板找到出问题的那一步,点 Restore Checkpoint 回滚。比手动 git stash 精准,因为它恢复的是那个确切时间点的状态。

Cline FAQ 与定价

如果整轮对话都不满意,用 git 回滚更干净:

# 看 Cline 改了哪些文件
git diff --name-only

# 回滚单个文件
git checkout -- src/components/Header.tsx

# 全部回滚到上次 commit
git checkout -- .

最佳实践:每完成一个小任务就 commit 一次。这样即使后续任务搞砸了,也能精确回退。

上下文窗口满了怎么办?

Cline 的有效上下文大约是模型标称值的 50-70%。超过后 AI 的回答质量会明显下降——开始忘记之前说过的话、重复犯同样的错。

解决方案:

  1. 拆任务——一个大功能拆成多个小任务,每个开新对话
  2. .clinerules 里加 handoff 规则——告诉 Cline 上下文用到 50% 时主动总结并建议开新对话
  3. 精准引用——@ 具体文件而不是整个文件夹
  4. 频繁 commit——新对话可以通过 git log 了解之前做了什么
<!-- .clinerules/context-management.md -->
# 上下文管理规则

当上下文使用超过 50% 时:
1. 总结当前进度和待办事项
2. 列出已修改的文件清单
3. 建议用户开新对话继续

API 报错 "rate limit exceeded"?

你的 API Provider 对请求频率有限制。处理方式:

  • Anthropic:默认 RPM(每分钟请求数)较低,去 console 申请提升
  • OpenRouter:聚合多 provider,自动负载均衡,限流少
  • 本地模型:没有限流问题,但速度取决于你的 GPU

Cline 能用中文对话吗?

完全支持。Prompt 用中文、.clinerules 用中文、代码注释用中文都没问题。Cline 只是调用底层模型的 API,Claude/GPT/Gemini 都支持中文。唯一建议:变量名和函数名还是用英文。

JetBrains 能用吗?

能。Cline 从 2026 年开始支持 JetBrains 系列 IDE(IntelliJ、WebStorm、PyCharm 等)。功能和 VS Code 版基本一致,但 VS Code 版更新更快、社区支持更好。

定价详解

Cline 本身完全免费。你的成本 = 你选的模型的 API 费用。

方案 月费 说明
Cline 扩展 $0 开源免费,永远免费
BYO API Key 按量付费 用多少付多少,完全透明
Cline API 按量付费 官方聚合代理,一个 key 用所有模型
Cline Teams 联系销售 SSO + 权限管理 + 用量审计

各模型实际成本参考

模型                  输入 $/百万 token   输出 $/百万 token   日均成本估算
──────────────────────────────────────────────────────────────────────
Claude Sonnet 4.6      $3                $15               $3-5
Claude Opus 4.6        $15               $75               $15-30
GPT-4o                 $2.5              $10               $2-4
Gemini 2.5 Flash       $0.15             $0.60             $0.30-0.50
DeepSeek V3            $0.27             $1.10             $0.30-0.80
本地 Ollama            $0                $0                电费
──────────────────────────────────────────────────────────────────────

# 日均成本基于中等强度使用(每天 10-20 个任务)

我的建议:起步用 Claude Sonnet,日均 $3-5 能覆盖大部分开发工作。简单任务切 Gemini Flash 省钱,复杂架构上 Opus 解决。一个月下来比 Cursor Pro 的 $20 可能还便宜——前提是你不用 YOLO 模式跑大项目。

Cline vs Cursor vs Claude Code 定价对比

Cline(BYO Claude Sonnet):
  ✓ 扩展免费
  ✓ 按量付费,不用不花钱
  ✓ 可以用最便宜的模型压成本
  ✗ 没有免费额度,第一天就要花钱
  ✗ 费用不可预测,重度使用可能超 $20

Cursor Pro $20/月:
  ✓ 固定月费,预算可控
  ✓ 包含 Tab 补全(Cline 没有)
  ✓ Background Agent(云端异步)
  ✗ 用量超了还是要加钱
  ✗ 闭源,不能审计代码

Claude Code(API 按量付费):
  ✓ 100 万 token 上下文,复杂项目最强
  ✓ 推理能力碾压其他
  ✗ 终端操作,没有 GUI
  ✗ 只支持 Anthropic 模型

选型决策树

你想用 AI 辅助编程?
├── 想留在 VS Code、不换编辑器?
│   ├── 预算敏感 / 想用本地模型 → Cline ✅
│   ├── 想要开箱即用 + Tab 补全 → Cursor
│   └── 想要开源可审计 → Cline ✅
├── 更习惯终端操作?
│   └── Claude Code
├── 想花最少的钱?
│   ├── Cline + Gemini Flash(几乎免费)✅
│   └── Windsurf 免费版
└── 团队统一工具?
    ├── 要审计和合规 → Cline Teams ✅
    └── 要最强生态 → Cursor Business

最佳实践总结

  1. 写好 .clinerules——花 10 分钟定义编码规范,后面每次生成的代码都合规
  2. 模型分级用——简单任务用便宜模型,复杂任务切好模型,别一直开着 Opus
  3. 先 Plan 后 Act——复杂任务先用 Plan 模式理清思路,再切 Act 执行
  4. 小步提交——每完成一个小功能就 git commit,给自己留回退点
  5. 用 MCP 扩展能力——连数据库、连 Jira、连浏览器,Cline 的能力边界取决于你装了什么工具
  6. 控制上下文——精准 @ 引用,及时开新对话,别让上下文溢出
Author
Share or copy the link
← Previous articleCline 实战手册:开源免费的 VS Code AI 编程 Agent — 进阶技巧与实战案例Next article →Cline 实战手册:开源免费的 VS Code AI 编程 Agent — Cline CLI 与 CI/CD 自动化:在终端和流水线里运行 AI 代理

Related articles

USYD 医疗初创盘点、网络平台注意义务法案、全身 MRI 广告研究

2026-12-02

UQ 皮肤癌在线硕士开办 20 周年、中澳绿色钢铁对话、HIV 预防提醒

2026-12-02

UNSW iFire 2.3 火场模拟系统、AI 卵巢癌预后研究、艺术家与 AI 版权调查

2026-12-02

ANS-C01 退役倒计时 29 天 · AIB-C01 Beta $50 新认证上线 · MLA-C02 Beta 报名开放

2026-12-02

Amazon开放首个自研大模型Ergo,代理作弊率实测差距悬殊,Anthropic格密码结果暂无现实威胁

2026-12-02

GitHub Copilot 实战指南 — Copilot AI Code Review:30 秒让 AI 帮你审 PR,三档深度随需切换

2026-12-01
View all articles →

Done reading? Next steps

Not sure what to learn next? Tell us where you are

Tell us what you do now and where you want to go. See your gaps in skills, evidence, experience, expression and positioning, and what to work on first. No sign-in needed.

Compare with my situation
  • SkillAI Coding for EveryoneShip real products with Cursor + AI, no coding background needed. The 6-week Foundation track builds 4 deliverables; the 8-week Advanced track adds an Admin CMS, a chatbot and a data dashboard.See the program →
  • PositioningLearning roadmaps by roleFrontend, backend, data, AI and more, laid out stage by stage in the order to learn them.All roadmaps →
  • ExpressionTry an AI mock interviewPick a role and run a mock interview to practise explaining your experience and projects.Practise now →

Not sure what to do next?

Take this page's topic with you and see where your gaps are.

Compare with my situation
JR Academy
AI learning for the global Chinese community
BootcampsFree resourcesLearn AICareer coaching
精选推荐
AI Career Impact Map
Assess career exposure and explore transition paths and learning options
Popular tool
AI & Data Bootcamps
Build your skills through structured courses and hands-on projects
Popular courses
1:1 Career Coaching
Work with an experienced mentor on your resume and interview preparation
Career coaching
Custom Corporate Training
AI training tailored to your team
Business services
Popular tags
Vibe CodingAI codingCursorClaudeJob searchPromptFrontend developmentBackend development
Subscribe to updates

Receive AI learning resources, technical tutorials and career advice by email.

We respect your privacy and do not send spam.