






















暂无文章
This is the 08th post in the Crazyrouter Claude Code series. This article focuses on Claude Code Integration with Crazyrouter Series 08: Chapter 5: Document Management and Processing, with emphasis on Chapter 5: Document Management and Processing, 5.1 Document Content Extraction, and extracting key information from long documents.
Unified integration settings: Claude Code / Anthropic native clients use
ANTHROPIC_BASE_URL=https://cn.crazyrouter.com; OpenAI-compatible SDKs, HTTP requests, and front-end/back-end apps usebase_url=https://cn.crazyrouter.com/v1.
/v1/v1/... issues caused by an incorrect Base URL.Claude Code can help you quickly extract key information from long documents, greatly improving work efficiency. Whether you need a summary, key points, or table data, it can handle it with ease.
Generate a brief summary of the document:
You: Please help me generate a summary for this document (uploading a long document)
Claude: I've read the document. Here is the summary:
This document introduces the company's 2026 annual work plan. The main points include:
Extract the key points from the document:
You: Please extract the resolutions from this meeting memo (upload the meeting memo file)
Claude: The resolutions extracted from the meeting memo:
Product Development
Marketing Promotion
Team Restructuring
Operations Optimization
Extract specific types of information from the document:
You: Please extract all date information from this contract (upload the contract file)
Claude: The date information extracted from the contract:
Contract signing date: January 15, 2024
Contract effective date: February 1, 2024
Project start date: February 15, 2024
Project end date: December 31, 2024
Payment dates:
Acceptance date: December 31, 2024
Generate a short summary of the document:
You: Please generate a 200-word abstract for this paper (upload the paper file)
Claude: Paper abstract:
This paper examines the application of artificial intelligence in medical diagnosis. By comparing traditional diagnostic methods with AI-assisted diagnostic methods, it finds that AI performs exceptionally well in image recognition and data analysis. The study shows that the accuracy of AI-assisted diagnosis reaches 95%, significantly higher than the 82% achieved by traditional methods. At the same time, AI can greatly shorten diagnostic time and improve healthcare efficiency. However, AI diagnosis also faces challenges such as data privacy and algorithmic bias. The article concludes with improvement suggestions, including stronger data protection, algorithm optimization, and greater transparency.
Generate a detailed document summary:
You: Please generate a detailed summary for this report, including the background, methods, results, and conclusion (upload the report file)
Claude: Detailed summary:
Background
This report studies the company's customer churn problem. In recent years, the churn rate has risen year by year, from 5% in 2021 to 12% in 2023, severely affecting company performance.
Methods
The study uses a combination of surveys, data analysis, and in-depth interviews. A total of 1,000 valid questionnaires were collected, 2 years of customer data were analyzed, and 50 churned customers were interviewed.
Results
The study found that the main reasons for customer churn include:
Conclusion
The company is advised to take the following measures to reduce customer churn:
Extract table data from the document:
You: Please extract all tables from this document (upload a document containing tables)
Claude: Tables extracted from the document:
Table 1: Sales Data
| Month | Sales | Growth Rate |
|---|---|---|
| January | 1 million yuan | - |
| February | 1.2 million yuan | 20% |
| March | 1.5 million yuan | 25% |
| April | 1.8 million yuan | 20% |
Table 2: Employee Information
| Name | Department | Position | Start Date |
|---|---|---|---|
| Zhang San | Engineering | Engineer | 2023/1/15 |
| Li Si | Marketing | Manager | 2022/6/20 |
| Wang Wu | Sales | Specialist | 2023/3/10 |
Analyze the table data:
You: Please analyze this sales data table and identify the best-selling month and product (upload the table file)
Claude: Sales data analysis:
Overall performance
Product analysis
Monthly analysis
Scenario: A teacher needs to extract key knowledge points from multiple teaching documents and organize them into a teaching outline.
You: Please help me extract the key knowledge points from these teaching documents and organize them into a syllabus (upload multiple teaching documents)
Claude: Syllabus organized:
Course Title: Python Programming Basics
Course Duration: 12 weeks
Target Audience: Programming beginners
Syllabus
Week 1: Introduction to Python
Week 2: Basic Syntax
Week 3: Control Structures
Week 4: Data Structures
Week 5: Functions
Week 6: Object-Oriented Programming (Part I)
Week 7: Object-Oriented Programming (Part II)
Week 8: Exception Handling
Week 9: File Operations
File reading and writing
File path handling
JSON data processing Week 10: Modules and Packages
Importing modules
Creating custom modules
Common standard libraries
Week 11: Hands-on Project (Part 1)
Week 12: Hands-on Project (Part 2)
Now, try asking Claude Code to help you extract content from some documents.
Claude Code can help you handle a wide range of document formatting tasks: standardizing formats, converting file types, fixing issues, and making documents more consistent and professional.
Make multiple documents use the same fonts and styles:
You: Please help me standardize the formatting of these documents. Use SimSun, 12pt font size, and 1.5 line spacing. (Upload multiple documents)
Claude: The document formatting has been standardized:
Standard applied
Processing results
All documents now use a consistent format and look more professional and standardized.
Make the headings in a document use a consistent format:
You: Please help me standardize the heading formats in this document. Use SimHei 16pt for level-one headings and SimHei 14pt for level-two headings. (Upload document)
Claude: The heading formats have been standardized:
Heading format standards
Processing result
All headings in the document have been formatted according to the standards above, making the document structure clearer.
Make the numbering in a document use a consistent format:
You: Please help me standardize the numbering format in this document. Use "I, II, III" as level-one numbering and "(I) (II) (III)" as level-two numbering. (Upload document)
Claude: The numbering format has been standardized:
Numbering format standards
Processing result
All numbering in the document has been formatted according to the standards above, making the document hierarchy clearer.
Convert a Word document to PDF:
You: Please help me convert this Word document to PDF. (Upload Word document)
Claude: The Word document has been converted to PDF:
Conversion result
The PDF document has been generated, with formatting and content consistent with the original Word document.
Convert a PDF document to Word:
You: Please help me convert this PDF document to Word. (Upload PDF document)
Claude: The PDF document has been converted to Word:
Conversion result
Notes
Convert plain text to Markdown:
You: Please help me convert this text file to Markdown. (Upload text file)
Claude: The text file has been converted to Markdown:
The Markdown document has been generated, with a clear format that is easy to read and edit.
Fix formatting errors in a document:
You: Please help me fix the formatting errors in this document. Some paragraphs use inconsistent formatting. (Upload document)
Claude: The document formatting errors have been fixed:
Issues found
Fixes applied
The document formatting is now consistent and standardized.
Fix numbering errors in a document:
You: Please help me fix the numbering errors in this document. The numbering is a bit messy. (Upload document)
Claude: The document numbering errors have been fixed:
Issues found
Fixes applied
The document numbering is now correct and continuous.
Fix image issues in a document:
You: Please help me fix the image issues in this document. Some images are not displaying correctly. (Upload document)
Claude: The document image issues have been fixed:
Issues found
Fixes applied
The images in the document now display correctly.
Scenario: A designer needs to organize multiple design documents, standardize their formatting, and produce a design guidelines document.
You: Please help me organize these design documents, standardize the formatting, and create a design guidelines document. (Upload multiple design documents)
Claude: The design guidelines document has been organized:
Design Guidelines Document
1.1 Design Principles
1.2 Scope
2.1 Primary Colors
2.2 Neutral Colors
2.3 Usage Rules
3.1 Font Selection
3.2 Font Size Guidelines
3.3 Usage Rules
4.1 Icon Style
4.2 Icon Sizes
4.3 Usage Rules
5.1 Base Spacing
5.2 Usage Rules
Claude Code can help you process multiple documents in batches, significantly improving your productivity. Whether you need to batch rename files, batch edit content, or batch generate documents, it can handle the work easily.
Batch rename files according to specific rules:
You: Please help me batch rename these files using this format: date_title_sequence.extension (upload multiple files)
Claude: The files have been batch renamed:
Renaming rules
Renaming results
All files have been renamed according to the rules.
Batch rename files based on their content:
You: Please help me batch rename these files based on the first-line title in each file (upload multiple files)
Claude: The files have been batch renamed based on their content:
Renaming rules
Renaming results
All files have been renamed based on their content.
Batch rename files by file date:
You: Please help me batch rename these files by their creation date (upload multiple files)
Claude: The files have been batch renamed by creation date:
Renaming rules
Renaming results
All files have been renamed by creation date.
Batch replace text across multiple files:
You: Please help me replace all occurrences of "Product A" with "New Product X" in these files (upload multiple files)
Claude: Text replacement has been completed in all files:
Replacement details
Replacement count by file
All occurrences of "Product A" in the files have been replaced with "New Product X".
Batch change formatting across multiple files:
You: Please help me change the font of all headings in these files to SimHei and the font size to Size 3 (upload multiple files)
Claude: Formatting changes have been completed in all files:
Change details
Changes by file
The heading format has been standardized across all files.
Batch add content to multiple files:
You: Please help me add the company copyright statement to the beginning of each of these files (upload multiple files)
Claude: The copyright statement has been added to the beginning of all files:
Added content
Processing results
The copyright statement has been added to all files.
Batch generate reports from data:
You: Please help me generate a monthly report for each department based on the data in this Excel spreadsheet (upload Excel file)
Claude: Monthly reports have been generated for each department:
Generated report list
Report content
Each report includes:
All reports have been generated and saved.
Batch generate notices from a template:
You: Please help me generate onboarding notices for these employees based on this template (upload the template and employee list)
Claude: Onboarding notices have been generated for all employees:
Generated notice list
Notice content
Each notice includes:
All notices have been generated and saved.
Batch generate emails from a template:
You: Please help me generate thank-you emails for these customers based on this template (upload the template and customer list)
Claude: Thank-you emails have been generated for all customers:
Generated email list
Email content
Each email includes:
All emails have been generated and saved.
Scenario: A finance staff member needs to process a large number of invoice records, including batch renaming, data extraction, and report generation.
You: Please help me process these invoice files:
Claude: Batch invoice processing is complete:
All invoice files have been renamed:
| Invoice No. | Date | Amount | Issuer | Tax Amount |
|---|---|---|---|---|
| INV001 | 2024/1/5 | 1903/4/14 | Supplier A | 1900/6/4 |
| INV002 | 2024/1/8 | 1909/7/31 | Supplier B | 1901/3/30 |
| INV003 | 2024/1/12 | 1907/8/31 | Supplier C | 1900/12/29 |
| INV004 | 2024/1/15 | 1911/7/1 | Supplier D | 1901/6/29 |
| INV005 | 2024/1/18 | 1915/5/1 | Supplier E | 1901/12/28 |
January 2024 Invoice Summary Report
| Supplier | Number of Invoices | Invoice Amount | Percentage |
|---|---|---|---|
| Supplier E | 1 | 5,600 | 0 |
| Supplier D | 1 | 4,200 | 0 |
| Supplier B | 1 | 3,500 | 0 |
| Supplier C | 1 | 2,800 | 0 |
| Supplier A | 1 | 1,200 | 0 |
| Date | Number of Invoices | Invoice Amount |
|---|---|---|
| 2024/1/5 | 1900/1/1 | 1903/4/14 |
| 2024/1/8 | 1900/1/1 | 1909/7/31 |
| 2024/1/12 | 1900/1/1 | 1907/8/31 |
| 2024/1/15 | 1900/1/1 | 1911/7/1 |
| 2024/1/18 | 1900/1/1 | 1915/5/1 |
Now, try asking Claude Code to help you batch process some documents!
/v1 usageIf you’re ready to connect Claude Code, Chinese models, or your own applications to Crazyrouter through a unified setup, follow this sequence:
https://cn.crazyrouter.com; OpenAI-compatible SDKs should use: https://cn.crazyrouter.com/v1./v1.When you need to evaluate model costs or choose between different models, check the Crazyrouter pricing and models page first, then add your commonly used models to the Token whitelist.
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。