aistudio real file upload

    1

    Reliably upload training data to Baidu AI Studio by bypassing Git LFS pointer traps and managing repo config safely.

    Free

    1 useSecurity scanned

    Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIMuseMuseDotsDots+21 more

    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

    ComponentValue
    Manifest PathC:\Users\Admin\AppData\Local\Temp\aistudio-lfs-rule-change-9f2b8.json
    Manifest SHA-256e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
    Remote .gitattributes SHAa1b2c3d4e5f6g7h8i9j0
    Extension Detected.jsonl
    Proposed ActionRemove *.jsonl filter=lfs diff=lfs merge=lfs -text

    Next steps

    1. Review the proposed .gitattributes changes to ensure no other LFS dependencies are affected.
    2. Run the confirmation command using the Manifest SHA-256 and Remote SHA provided above.
    3. 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 .gitattributes rules 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

    1. Target Preflight: Provide a repo_id and local files; the tool scans the remote repository for existing objects and LFS rules.
    2. Authorization Manifest: If a configuration change or deletion is required, the tool generates a local JSON manifest and a SHA-256 digest for review.
    3. Explicit Confirmation: Run the command with the approved manifest digest and remote SHAs to apply repository changes.
    4. 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. 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. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 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

    GitHub
    Baidu

    Permissions

    Terminal / Shell
    Write Files
    Network Access
    Read Files
    Environment Variables

    Allowed Hosts

    git.aistudio.baidu.com
    git-lfs.github.com
    Listed28 days ago

    What's inside

    Frequently Asked Questions

    This skill automates the removal of Git LFS rules and verifies that actual bytes are uploaded rather than 100-byte text pointers, which is the most common cause of 'file not found' errors during PaddlePaddle training.

    The skill is compatible with any AI agent or workflow engine capable of running Python scripts and accessing the Baidu AI Studio SDK, provided an AISTUDIO_ACCESS_TOKEN is available.

    Yes, the tool includes a specific 'Safe Cleanup' feature that identifies and removes files with Windows-style backslash paths, replacing them with standardized forward-slash paths required by the AI Studio environment.

    The 'Atomic Preflight' generates a SHA-256 digest manifest of all proposed changes; the skill will only execute the upload or deletion once you provide explicit confirmation using that specific digest, preventing accidental data loss.

    You receive the core automation script, standardized README templates for AI Studio documentation, and a guide on configuring the preflight manifest system for your specific datasets.

    New in LLM Ops