aistudio real file upload
Reliably upload training data to Baidu AI Studio by bypassing Git LFS pointer traps and managing repo config safely.
Free
Works with the AI Agents you already use
aistudio real file upload
Example session with this skill installed
Upload the processed directory to SylvanL/MedRecord-GraphNorm-CN. Make sure to remove any LFS rules that might interfere with the .jsonl files.
- Read your context and instructions
- Compiled the aistudio real file
I have preflighted the upload to SylvanL/MedRecord-GraphNorm-CN. The system detected that .jsonl files are currently tracked by Git LFS, which will prevent real file content from being stored. A manifest for the required .gitattributes change has been created.
LFS Rule Change Manifest
| Component | Value |
|---|---|
| Manifest Path | C:\Users\Admin\AppData\Local\Temp\aistudio-lfs-rule-change-9f2b8.json |
| Manifest SHA-256 | e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 |
| Remote .gitattributes SHA | a1b2c3d4e5f6g7h8i9j0 |
| Extension Detected | .jsonl |
| Proposed Action | Remove *.jsonl filter=lfs diff=lfs merge=lfs -text |
Next steps
- Review the proposed
.gitattributeschanges to ensure no other LFS dependencies are affected. - Run the confirmation command using the Manifest SHA-256 and Remote SHA provided above.
- Once the configuration is updated, I will proceed with uploading the files and verifying their sizes.
Connects securely to your tools. The creator never sees your data.
About this skill
Training data often fails to load in Baidu AI Studio when Git LFS pointers are uploaded instead of raw content. This skill automates the detection and removal of LFS rules while safely uploading large datasets to PaddlePaddle repositories. It prevents the common "file not found" errors during training by ensuring repo files contain real bytes, not 100-byte pointers.
What it does
- Real-file verification ensures every upload contains actual data rather than Git LFS text pointers.
- LFS rule management identifies and removes conflicting
.gitattributesrules that intercept training data. - Atomic preflight checks validate all local sources and remote targets before committing any writes.
- Safe cleanup removes mistaken Windows backslash paths and stale directory prefixes using digest-bound manifests.
- README generation scaffolds dataset documentation using standardized templates for AI Studio.
How it works
- Target Preflight: Provide a
repo_idand local files; the tool scans the remote repository for existing objects and LFS rules. - Authorization Manifest: If a configuration change or deletion is required, the tool generates a local JSON manifest and a SHA-256 digest for review.
- Explicit Confirmation: Run the command with the approved manifest digest and remote SHAs to apply repository changes.
- Verified Upload: Upload files using forward-slash paths, followed by a post-upload size and content integrity check.
Frameworks & tools
Python scripts utilizing the Baidu AI Studio SDK and Git API. Designed for use with PaddlePaddle, ERNIE, and AI Studio dataset repositories.
Why this beats prompting it yourself
Standard prompting often ignores the nuance of the AI Studio Git API, leading to LFS pointer traps that break training pipelines. This skill enforces a strict preflight-and-authorization flow that prevents silent failures and accidental data corruption.
Use cases
- Uploading JSONL training data for MedRecord or GraphNorm fine-tuning.
- Fixing "trainDataFiles specified file does not exist" errors in AI Studio.
- Cleaning up accidentally uploaded Windows-style backslash paths in remote repos.
- Managing large dataset assets that exceed standard Git upload limits.
Known limitations
Requires an active AISTUDIO_ACCESS_TOKEN in the environment. Upload targets ending in slashes are rejected to prevent filename ambiguity.
Requires AISTUDIO_ACCESS_TOKEN in shell. Targets ending in / or \ are rejected. Does not support automatic deletion without manifest authorization.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before any payment.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
1 use
Times used to date
Free forever
No account required to browse
Trust & safety
Security scan
Security scan passed 28 days ago
- Free with an Agensi account
Requires
Permissions
Allowed Hosts