[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M77TVNCRD0W8XDF9GFE24H9M":3,"skill-same:01M77TVNCRD0W8XDF9GFE24H9M":49},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":27,"commitSha":28,"skillDirectory":29,"forksCount":30,"repositoryHtmlUrl":31,"repositoryHomepageUrl":6,"ownerHtmlUrl":32,"ownerBlogUrl":33,"ownerDescription":6,"updatedAt":34,"install":35,"resources":48},"01M77TVNCRD0W8XDF9GFE24H9M","neon-object-storage",null,"S3-compatible object storage that branches with your Neon project, so files and the database stay in sync across every branch. Use when a user wants object storage, a bucket, blob\u002Ffile storage, or somewhere to put uploads, images, documents, avatars, or user-generated files for their app or agent — especially when they already use (or are setting up) Lakebase Postgres and don't want to add a separate storage provider like AWS S3, Cloudflare R2, or Supabase Storage. Triggers include \"object storage\", \"bucket\", \"blob storage\", \"file storage\", \"store uploads\u002Fimages\u002Ffiles\", \"S3-compatible storage\", \"presigned URL\", \"where do I put files\", \"storage logs\", \"bucket logs\", \"Neon Object Storage\", \"Neon Storage\", and \"storage that branches with my database\".","Reihantt6\u002Fsns-myagent","Reihantt6","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F219822095?v=4","01M77KK94PV8B7C2D9XWXNS8DJ","Mohamad Reihan tegar prasetya","01M77KK958QFMTHYXGXFV7KZ79",2,"MIT","https:\u002F\u002Fgithub.com\u002FReihantt6\u002Fsns-myagent\u002Fblob\u002Fmain\u002Fagent\u002Fskills\u002Fneon-object-storage\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\ndescription: \"S3-compatible object storage that branches with your Neon project, so files and the database stay in sync across every branch. Use when a user wants object storage, a bucket, blob\u002Ffile storage, or somewhere to put uploads, images, documents, avatars, or user-generated files for their app or agent — especially when they already use (or are setting up) Lakebase Postgres and don't want to add a separate storage provider like AWS S3, Cloudflare R2, or Supabase Storage. Triggers include \\\"object storage\\\", \\\"bucket\\\", \\\"blob storage\\\", \\\"file storage\\\", \\\"store uploads\u002Fimages\u002Ffiles\\\", \\\"S3-compatible storage\\\", \\\"presigned URL\\\", \\\"where do I put files\\\", \\\"storage logs\\\", \\\"bucket logs\\\", \\\"Neon Object Storage\\\", \\\"Neon Storage\\\", and \\\"storage that branches with my database\\\".\"\nmetadata: {\"parent\":\"neon\",\"source\":\"https:\u002F\u002Fgithub.com\u002Fneondatabase\u002Fagent-skills\u002Ftree\u002Fmain\u002Fskills\u002Fneon-object-storage\"}\n---\n**FIRST**: Use the parent `neon` skill for a Neon overview, getting started with Neon, Neon development best practices, and more.\n\nIf the `neon` skill is not installed, fetch it from https:\u002F\u002Fneon.com\u002Fdocs\u002Fai\u002Fskills\u002Fneon\u002FSKILL.md or install it with:\n\n```bash\nnpx skills add neondatabase\u002Fagent-skills --skill neon\n```\n\n# Neon Object Storage\n\nThis is a public beta feature and only available in `us-east-2`.\n\nNeon Object Storage is S3-compatible object storage that branches with your projects: every branch gets its own isolated storage state, so files and database rows stay in sync across dev, preview, staging, and production.\n\nUse this skill to help the user store and serve files that branch alongside their database. Deliver a working bucket and upload\u002Fdownload flow, a branch-aware S3 client wired to the injected env vars, or a precise answer from the official Neon docs.\n\n## When to Use\n\nReach for Neon Object Storage when the user needs to store files (images, uploads, generated assets, documents, backups) and any of the following are true:\n\n- **They already use Lakebase Postgres and don't want a second provider.** One backend, one bill, one CLI, one set of branches — instead of standing up and wiring a separate AWS S3 \u002F R2 \u002F Supabase Storage account. The same Neon credential that backs the database backs storage.\n- **Files must stay in sync with the database across environments.** Storage branches _together with_ your Postgres data. Fork a branch and the child instantly inherits the parent's buckets and objects at that point in time — copy-on-write, so no data is duplicated. This is what makes agent, dev, preview, and test environments seamless: a preview branch gets a consistent snapshot of _both_ the rows and the files they reference, and writes on the child never touch the parent.\n- **They want safe, throwaway environments.** Upload, overwrite, and delete files in a preview\u002FCI branch without any risk to production data, then drop the branch.\n- **They want standard S3 tooling.** It's built on S3 semantics and speaks the S3 API, so the AWS SDKs, `boto3`, the AWS CLI, and presigned URLs all work — reliable and familiar, with no proprietary client.\n\nIf the user has no Neon project, isn't on Postgres, and just needs a standalone CDN-backed asset store, a dedicated object store may fit better — but the moment branch-consistent files + rows matter, this is the reason to use it.\n\n## What It Does\n\n- **S3-compatible** — Works with existing S3 SDKs, `boto3`, the AWS CLI, and presigned URLs. Path-style addressing and SigV4 only.\n- **Branches with your database** — Every Neon branch gets its own isolated, copy-on-write storage state. Forking copies no data.\n- **Two access modes** — `private` buckets require a credential for every operation; `public_read` buckets allow anonymous reads with authenticated writes.\n- **One credential system** — The same Neon credential system used by Functions and the AI Gateway.\n\n## Availability\n\nCheck this precondition before setting anything up: Neon Object Storage is a public beta feature available only on new projects in the `us-east-2` region. Confirm the user's Neon project is a new project in `us-east-2` before proceeding; it can't be enabled on existing projects.\n\n## Setup\n\nObject storage is part of the `neon.ts` infrastructure-as-code config (see the `neon` skill for the branch-first workflow, `link`\u002F`checkout`, and `neon.ts` basics). Declare buckets under `preview.buckets`, keyed by bucket name:\n\n```typescript\n\u002F\u002F neon.ts\nimport { defineConfig } from \"@neon\u002Fconfig\u002Fv1\";\n\nexport default defineConfig({\n  preview: {\n    buckets: {\n      images: {}, \u002F\u002F private by default\n      \"public-assets\": { access: \"public_read\" },\n    },\n  },\n});\n```\n\nProvision the declared buckets on the linked branch:\n\n```bash\nneon deploy   # alias for `neon config apply`\n```\n\n## Neon Infrastructure as Code (`neon.ts`)\n\nThe `preview.buckets` block above is part of `neon.ts`, Neon's infrastructure-as-code file — one TypeScript file declares your buckets alongside every other service the branch should have (see the `neon` skill for the full reference). Reconcile the declaration against a branch the Terraform way:\n\n```bash\nneon config status   # print the branch's live config (which buckets exist)\nneon config plan     # dry-run diff of what apply would change\nneon config apply    # create the declared buckets  (neon deploy is an alias)\n```\n\nBuckets are **branch-scoped**: when a `neon.ts` is present, `neon checkout` applies the policy as it _creates_ a branch, so a fresh preview\u002FCI branch comes up with its buckets already provisioned (and copy-on-write objects inherited from the parent). Checking out an _existing_ branch doesn't reconcile it — run `neon deploy` to apply changes. Provisioning (`config apply` \u002F `deploy`), `link`, and `checkout` also pull the branch's S3 credentials into your local `.env.local`, so the same `env pull` step shown below happens for you on those commands.\n\n## Environment Variables\n\nWhen `preview.buckets` is declared, Neon injects **AWS-standard** S3 env vars so the AWS SDKs work from the environment with zero extra config. Inside a deployed Neon Function these are injected automatically; locally, pull them onto disk (or inject them at runtime) via the CLI:\n\n```bash\nneon env pull            # writes the branch's vars into .env (or .env.local)\n# or, without writing a file, inject at runtime:\nneon-env run -- \u003Cyour dev command>\n```\n\n| Variable                | Meaning                                             |\n| ----------------------- | --------------------------------------------------- |\n| `AWS_ACCESS_KEY_ID`     | S3 Access Key ID (the branch credential's token id) |\n| `AWS_SECRET_ACCESS_KEY` | S3 Secret Access Key                                |\n| `AWS_ENDPOINT_URL_S3`   | Branch S3 endpoint URL                              |\n| `AWS_REGION`            | Region, e.g. `us-east-2`                            |\n\nBecause the names are AWS-standard, the AWS SDK picks up the credentials, endpoint, and region from the environment automatically. Credentials are branch-scoped and valid for that branch and all its descendants.\n\nFor typed, validated access to these credentials instead of reading `process.env` directly, pass the same `neon.ts` config object to `parseEnv` from `@neon\u002Fenv` — it returns an `env.storage` namespace (`accessKeyId`, `secretAccessKey`, `endpoint`, `region`) derived from your config. See the `neon` skill.\n\n## Working with Objects: the Files SDK (Recommended)\n\nThe simplest, most portable way to read and write objects is the [Files SDK](https:\u002F\u002Ffiles-sdk.dev) with its `neon` adapter — a small, unified storage API (`upload`, `download`, `url`, `list`, `exists`, `copy`, `delete`, `signedUploadUrl`) over web-standard I\u002FO. It uses the AWS S3 client under the hood, configured appropriately for Neon, and relabels errors as `Neon error` — so there's nothing to misconfigure. Reach for this first.\n\nInstall it alongside the AWS S3 peer dependencies the adapter uses internally:\n\n```bash\nnpm install files-sdk @aws-sdk\u002Fclient-s3 @aws-sdk\u002Fs3-presigned-post @aws-sdk\u002Fs3-request-presigner\n```\n\nThe adapter resolves its endpoint, region, and credentials from the same injected `AWS_*` env vars — pass only the bucket name:\n\n```typescript\nimport { Files } from \"files-sdk\";\nimport { neon } from \"files-sdk\u002Fneon\";\n\nconst files = new Files({ adapter: neon({ bucket: \"images\" }) });\n\n\u002F\u002F Upload — body may be a Buffer, Uint8Array, Blob, File, ReadableStream, or string\nawait files.upload(\"generated\u002Fcat.jpg\", fileBuffer, { contentType: \"image\u002Fjpeg\" });\n\n\u002F\u002F Download\nconst file = await files.download(\"generated\u002Fcat.jpg\");\nconst bytes = new Uint8Array(await file.arrayBuffer());\n\n\u002F\u002F Presigned GET — share without exposing credentials (defaults to a 1h expiry)\nconst url = await files.url(\"generated\u002Fcat.jpg\", { expiresIn: 3600 });\n\n\u002F\u002F Plus: files.exists(), files.list({ prefix }), files.copy(), files.delete(), files.signedUploadUrl()\n```\n\nSwap the adapter import (`files-sdk\u002Fs3`, `files-sdk\u002Fr2`, `files-sdk\u002Fgcs`, …) and the rest of your code is unchanged.\n\n## Working with Objects: the AWS S3 Client (Alternative)\n\nNeon speaks the S3 API directly, so you can drop down to the AWS SDK whenever you prefer the native client or already depend on it. The credentials, endpoint, and region are read from the standard AWS env chain, so the only setting you pass is `forcePathStyle: true` — Neon requires path-style addressing, so the S3 client **must** set it:\n\n```typescript\nimport { S3Client } from \"@aws-sdk\u002Fclient-s3\";\n\nconst s3 = new S3Client({\n  forcePathStyle: true, \u002F\u002F required: Neon uses path-style addressing\n});\n```\n\nThen upload, download, and presign with the raw command objects:\n\n```typescript\nimport { PutObjectCommand, GetObjectCommand } from \"@aws-sdk\u002Fclient-s3\";\nimport { getSignedUrl } from \"@aws-sdk\u002Fs3-request-presigner\";\n\nconst BUCKET = \"images\";\n\n\u002F\u002F Upload\nawait s3.send(\n  new PutObjectCommand({\n    Bucket: BUCKET,\n    Key: \"generated\u002Fcat.jpg\",\n    Body: fileBuffer,\n    ContentType: \"image\u002Fjpeg\",\n  }),\n);\n\n\u002F\u002F Download\nconst res = await s3.send(\n  new GetObjectCommand({ Bucket: BUCKET, Key: \"generated\u002Fcat.jpg\" }),\n);\nconst bytes = await res.Body?.transformToByteArray();\n\n\u002F\u002F Presigned GET — share without exposing credentials\nconst url = await getSignedUrl(\n  s3,\n  new GetObjectCommand({ Bucket: BUCKET, Key: \"generated\u002Fcat.jpg\" }),\n  { expiresIn: 3600 },\n);\n```\n\n## Pairing Storage with the Database on a Branch\n\nThe canonical pattern: an agent generates an image → `PutObject` into the `images` bucket → a row is inserted in Postgres → a presigned URL is returned on read. Store the bucket **key** (not the bytes) in a Postgres column, and presign on read. Because both the row and the object live on the same branch, they branch together and never drift.\n\n## CLI Bucket and Object Commands\n\n`neon` also has first-class bucket\u002Fobject commands (`neon bucket create|list|delete`, `neon bucket object put|get|list|delete`) for scripting and one-off operations.\n\n## Built-in Branch Logs\n\n```bash\nneon logs query --branch production --source storage --since 1h\n```\n\nStorage is one of the two sources branch logs cover today, alongside Neon Functions. Logs are scoped to a single branch, so pass `--branch` when the bucket you're debugging isn't on the branch you're checked out on. Everything else about logs — the required CLI version, filters, the SDK, and the Loki-compatible read API — is in the parent `neon` skill's **Observability** section.\n\n## Neon Documentation\n\nThe Neon documentation is the source of truth and Object Storage is evolving rapidly, so always verify against the official docs. Any doc page can be fetched as markdown by appending `.md` to the URL or by requesting `Accept: text\u002Fmarkdown`. Find the right page from the docs index (https:\u002F\u002Fneon.com\u002Fdocs\u002Fllms.txt) and the changelog announcements.\n\n## Further Reading\n\n- https:\u002F\u002Fneon.com\u002Fdocs\u002Fstorage\u002Foverview.md\n- https:\u002F\u002Fneon.com\u002Fdocs\u002Fstorage\u002Fget-started.md\n- https:\u002F\u002Fneon.com\u002Fdocs\u002Fstorage\u002Fbuckets.md\n- https:\u002F\u002Fneon.com\u002Fdocs\u002Fstorage\u002Fobjects.md\n- https:\u002F\u002Fneon.com\u002Fdocs\u002Fstorage\u002Fauthentication.md\n- https:\u002F\u002Fneon.com\u002Fdocs\u002Fstorage\u002Fs3-compatibility.md\n- https:\u002F\u002Fneon.com\u002Fdocs\u002Fstorage\u002Ftroubleshooting.md\n- https:\u002F\u002Ffiles-sdk.dev — Files SDK docs (the `neon` adapter)\n","**FIRST**: Use the parent `neon` skill for a Neon overview, getting started with Neon, Neon development best practices, and more.\n\nIf the `neon` skill is not installed, fetch it from https:\u002F\u002Fneon.com\u002Fdocs\u002Fai\u002Fskills\u002Fneon\u002FSKILL.md or install it with:\n\n```bash\nnpx skills add neondatabase\u002Fagent-skills --skill neon\n```\n\n# Neon Object Storage\n\nThis is a public beta feature and only available in `us-east-2`.\n\nNeon Object Storage is S3-compatible object storage that branches with your projects: every branch gets its own isolated storage state, so files and database rows stay in sync across dev, preview, staging, and production.\n\nUse this skill to help the user store and serve files that branch alongside their database. Deliver a working bucket and upload\u002Fdownload flow, a branch-aware S3 client wired to the injected env vars, or a precise answer from the official Neon docs.\n\n## When to Use\n\nReach for Neon Object Storage when the user needs to store files (images, uploads, generated assets, documents, backups) and any of the following are true:\n\n- **They already use Lakebase Postgres and don't want a second provider.** One backend, one bill, one CLI, one set of branches — instead of standing up and wiring a separate AWS S3 \u002F R2 \u002F Supabase Storage account. The same Neon credential that backs the database backs storage.\n- **Files must stay in sync with the database across environments.** Storage branches _together with_ your Postgres data. Fork a branch and the child instantly inherits the parent's buckets and objects at that point in time — copy-on-write, so no data is duplicated. This is what makes agent, dev, preview, and test environments seamless: a preview branch gets a consistent snapshot of _both_ the rows and the files they reference, and writes on the child never touch the parent.\n- **They want safe, throwaway environments.** Upload, overwrite, and delete files in a preview\u002FCI branch without any risk to production data, then drop the branch.\n- **They want standard S3 tooling.** It's built on S3 semantics and speaks the S3 API, so the AWS SDKs, `boto3`, the AWS CLI, and presigned URLs all work — reliable and familiar, with no proprietary client.\n\nIf the user has no Neon project, isn't on Postgres, and just needs a standalone CDN-backed asset store, a dedicated object store may fit better — but the moment branch-consistent files + rows matter, this is the reason to use it.\n\n## What It Does\n\n- **S3-compatible** — Works with existing S3 SDKs, `boto3`, the AWS CLI, and presigned URLs. Path-style addressing and SigV4 only.\n- **Branches with your database** — Every Neon branch gets its own isolated, copy-on-write storage state. Forking copies no data.\n- **Two access modes** — `private` buckets require a credential for every operation; `public_read` buckets allow anonymous reads with authenticated writes.\n- **One credential system** — The same Neon credential system used by Functions and the AI Gateway.\n\n## Availability\n\nCheck this precondition before setting anything up: Neon Object Storage is a public beta feature available only on new projects in the `us-east-2` region. Confirm the user's Neon project is a new project in `us-east-2` before proceeding; it can't be enabled on existing projects.\n\n## Setup\n\nObject storage is part of the `neon.ts` infrastructure-as-code config (see the `neon` skill for the branch-first workflow, `link`\u002F`checkout`, and `neon.ts` basics). Declare buckets under `preview.buckets`, keyed by bucket name:\n\n```typescript\n\u002F\u002F neon.ts\nimport { defineConfig } from \"@neon\u002Fconfig\u002Fv1\";\n\nexport default defineConfig({\n  preview: {\n    buckets: {\n      images: {}, \u002F\u002F private by default\n      \"public-assets\": { access: \"public_read\" },\n    },\n  },\n});\n```\n\nProvision the declared buckets on the linked branch:\n\n```bash\nneon deploy   # alias for `neon config apply`\n```\n\n## Neon Infrastructure as Code (`neon.ts`)\n\nThe `preview.buckets` block above is part of `neon.ts`, Neon's infrastructure-as-code file — one TypeScript file declares your buckets alongside every other service the branch should have (see the `neon` skill for the full reference). Reconcile the declaration against a branch the Terraform way:\n\n```bash\nneon config status   # print the branch's live config (which buckets exist)\nneon config plan     # dry-run diff of what apply would change\nneon config apply    # create the declared buckets  (neon deploy is an alias)\n```\n\nBuckets are **branch-scoped**: when a `neon.ts` is present, `neon checkout` applies the policy as it _creates_ a branch, so a fresh preview\u002FCI branch comes up with its buckets already provisioned (and copy-on-write objects inherited from the parent). Checking out an _existing_ branch doesn't reconcile it — run `neon deploy` to apply changes. Provisioning (`config apply` \u002F `deploy`), `link`, and `checkout` also pull the branch's S3 credentials into your local `.env.local`, so the same `env pull` step shown below happens for you on those commands.\n\n## Environment Variables\n\nWhen `preview.buckets` is declared, Neon injects **AWS-standard** S3 env vars so the AWS SDKs work from the environment with zero extra config. Inside a deployed Neon Function these are injected automatically; locally, pull them onto disk (or inject them at runtime) via the CLI:\n\n```bash\nneon env pull            # writes the branch's vars into .env (or .env.local)\n# or, without writing a file, inject at runtime:\nneon-env run -- \u003Cyour dev command>\n```\n\n| Variable                | Meaning                                             |\n| ----------------------- | --------------------------------------------------- |\n| `AWS_ACCESS_KEY_ID`     | S3 Access Key ID (the branch credential's token id) |\n| `AWS_SECRET_ACCESS_KEY` | S3 Secret Access Key                                |\n| `AWS_ENDPOINT_URL_S3`   | Branch S3 endpoint URL                              |\n| `AWS_REGION`            | Region, e.g. `us-east-2`                            |\n\nBecause the names are AWS-standard, the AWS SDK picks up the credentials, endpoint, and region from the environment automatically. Credentials are branch-scoped and valid for that branch and all its descendants.\n\nFor typed, validated access to these credentials instead of reading `process.env` directly, pass the same `neon.ts` config object to `parseEnv` from `@neon\u002Fenv` — it returns an `env.storage` namespace (`accessKeyId`, `secretAccessKey`, `endpoint`, `region`) derived from your config. See the `neon` skill.\n\n## Working with Objects: the Files SDK (Recommended)\n\nThe simplest, most portable way to read and write objects is the [Files SDK](https:\u002F\u002Ffiles-sdk.dev) with its `neon` adapter — a small, unified storage API (`upload`, `download`, `url`, `list`, `exists`, `copy`, `delete`, `signedUploadUrl`) over web-standard I\u002FO. It uses the AWS S3 client under the hood, configured appropriately for Neon, and relabels errors as `Neon error` — so there's nothing to misconfigure. Reach for this first.\n\nInstall it alongside the AWS S3 peer dependencies the adapter uses internally:\n\n```bash\nnpm install files-sdk @aws-sdk\u002Fclient-s3 @aws-sdk\u002Fs3-presigned-post @aws-sdk\u002Fs3-request-presigner\n```\n\nThe adapter resolves its endpoint, region, and credentials from the same injected `AWS_*` env vars — pass only the bucket name:\n\n```typescript\nimport { Files } from \"files-sdk\";\nimport { neon } from \"files-sdk\u002Fneon\";\n\nconst files = new Files({ adapter: neon({ bucket: \"images\" }) });\n\n\u002F\u002F Upload — body may be a Buffer, Uint8Array, Blob, File, ReadableStream, or string\nawait files.upload(\"generated\u002Fcat.jpg\", fileBuffer, { contentType: \"image\u002Fjpeg\" });\n\n\u002F\u002F Download\nconst file = await files.download(\"generated\u002Fcat.jpg\");\nconst bytes = new Uint8Array(await file.arrayBuffer());\n\n\u002F\u002F Presigned GET — share without exposing credentials (defaults to a 1h expiry)\nconst url = await files.url(\"generated\u002Fcat.jpg\", { expiresIn: 3600 });\n\n\u002F\u002F Plus: files.exists(), files.list({ prefix }), files.copy(), files.delete(), files.signedUploadUrl()\n```\n\nSwap the adapter import (`files-sdk\u002Fs3`, `files-sdk\u002Fr2`, `files-sdk\u002Fgcs`, …) and the rest of your code is unchanged.\n\n## Working with Objects: the AWS S3 Client (Alternative)\n\nNeon speaks the S3 API directly, so you can drop down to the AWS SDK whenever you prefer the native client or already depend on it. The credentials, endpoint, and region are read from the standard AWS env chain, so the only setting you pass is `forcePathStyle: true` — Neon requires path-style addressing, so the S3 client **must** set it:\n\n```typescript\nimport { S3Client } from \"@aws-sdk\u002Fclient-s3\";\n\nconst s3 = new S3Client({\n  forcePathStyle: true, \u002F\u002F required: Neon uses path-style addressing\n});\n```\n\nThen upload, download, and presign with the raw command objects:\n\n```typescript\nimport { PutObjectCommand, GetObjectCommand } from \"@aws-sdk\u002Fclient-s3\";\nimport { getSignedUrl } from \"@aws-sdk\u002Fs3-request-presigner\";\n\nconst BUCKET = \"images\";\n\n\u002F\u002F Upload\nawait s3.send(\n  new PutObjectCommand({\n    Bucket: BUCKET,\n    Key: \"generated\u002Fcat.jpg\",\n    Body: fileBuffer,\n    ContentType: \"image\u002Fjpeg\",\n  }),\n);\n\n\u002F\u002F Download\nconst res = await s3.send(\n  new GetObjectCommand({ Bucket: BUCKET, Key: \"generated\u002Fcat.jpg\" }),\n);\nconst bytes = await res.Body?.transformToByteArray();\n\n\u002F\u002F Presigned GET — share without exposing credentials\nconst url = await getSignedUrl(\n  s3,\n  new GetObjectCommand({ Bucket: BUCKET, Key: \"generated\u002Fcat.jpg\" }),\n  { expiresIn: 3600 },\n);\n```\n\n## Pairing Storage with the Database on a Branch\n\nThe canonical pattern: an agent generates an image → `PutObject` into the `images` bucket → a row is inserted in Postgres → a presigned URL is returned on read. Store the bucket **key** (not the bytes) in a Postgres column, and presign on read. Because both the row and the object live on the same branch, they branch together and never drift.\n\n## CLI Bucket and Object Commands\n\n`neon` also has first-class bucket\u002Fobject commands (`neon bucket create|list|delete`, `neon bucket object put|get|list|delete`) for scripting and one-off operations.\n\n## Built-in Branch Logs\n\n```bash\nneon logs query --branch production --source storage --since 1h\n```\n\nStorage is one of the two sources branch logs cover today, alongside Neon Functions. Logs are scoped to a single branch, so pass `--branch` when the bucket you're debugging isn't on the branch you're checked out on. Everything else about logs — the required CLI version, filters, the SDK, and the Loki-compatible read API — is in the parent `neon` skill's **Observability** section.\n\n## Neon Documentation\n\nThe Neon documentation is the source of truth and Object Storage is evolving rapidly, so always verify against the official docs. Any doc page can be fetched as markdown by appending `.md` to the URL or by requesting `Accept: text\u002Fmarkdown`. Find the right page from the docs index (https:\u002F\u002Fneon.com\u002Fdocs\u002Fllms.txt) and the changelog announcements.\n\n## Further Reading\n\n- https:\u002F\u002Fneon.com\u002Fdocs\u002Fstorage\u002Foverview.md\n- https:\u002F\u002Fneon.com\u002Fdocs\u002Fstorage\u002Fget-started.md\n- https:\u002F\u002Fneon.com\u002Fdocs\u002Fstorage\u002Fbuckets.md\n- https:\u002F\u002Fneon.com\u002Fdocs\u002Fstorage\u002Fobjects.md\n- https:\u002F\u002Fneon.com\u002Fdocs\u002Fstorage\u002Fauthentication.md\n- https:\u002F\u002Fneon.com\u002Fdocs\u002Fstorage\u002Fs3-compatibility.md\n- https:\u002F\u002Fneon.com\u002Fdocs\u002Fstorage\u002Ftroubleshooting.md\n- https:\u002F\u002Ffiles-sdk.dev — Files SDK docs (the `neon` adapter)\n",{"metadata":24,"description":7},{"parent":25,"source":26},"neon","https:\u002F\u002Fgithub.com\u002Fneondatabase\u002Fagent-skills\u002Ftree\u002Fmain\u002Fskills\u002Fneon-object-storage","main","58843b159d7a4050d6b785a98b908cce505c0b92","agent\u002Fskills\u002Fneon-object-storage",0,"https:\u002F\u002Fgithub.com\u002FReihantt6\u002Fsns-myagent","https:\u002F\u002Fgithub.com\u002FReihantt6","reihsns.web.id","2026-08-19 20:08:18",{"source":8,"skillName":5,"commands":36,"prompt":46,"zipAvailable":47},[37,40,43],{"tool":38,"command":39},"npx","npx skills add Reihantt6\u002Fsns-myagent --skill neon-object-storage",{"tool":41,"command":42},"bunx","bunx skills add Reihantt6\u002Fsns-myagent --skill neon-object-storage",{"tool":44,"command":45},"pnpm","pnpm dlx skills add Reihantt6\u002Fsns-myagent --skill neon-object-storage","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FReihantt6\u002Fsns-myagent\u002Fblob\u002Fmain\u002Fagent\u002Fskills\u002Fneon-object-storage\u002FSKILL.md",true,[],[50,57,64,71,78,85],{"skillNo":51,"name":52,"nameZh":6,"description":53,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":54,"categories":55,"keywords":56,"publishedAt":19},"01M77XDCYZ407XYMF2T4P6F7VT","youtube-transcript","Extract transcripts from YouTube videos. Use when the user asks for a transcript, subtitles, or captions of a YouTube video and provides a YouTube URL (youtube.com\u002Fwatch?v=, youtu.be\u002F, or similar). Supports output with or without timestamps.","https:\u002F\u002Fgithub.com\u002FReihantt6\u002Fsns-myagent\u002Fblob\u002Fmain\u002Fagent\u002Fskills\u002Fyoutube-transcript\u002FSKILL.md",[],[],{"skillNo":58,"name":59,"nameZh":6,"description":60,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":61,"categories":62,"keywords":63,"publishedAt":19},"01M77XD7PBC98J6MXGJJ2TJ8DX","youtube-thumbnail-design","YouTube thumbnail design with specific dimensions, contrast rules, and mobile preview optimization. Covers safe zones, text placement, face expression psychology, and A\u002FB testing. Use for: YouTube thumbnails, video cover images, click-through optimization. Triggers: youtube thumbnail, thumbnail design, video thumbnail, click through rate, ctr optimization, youtube cover, video cover image, thumbnail maker, thumbnail tips, youtube design, video preview image","https:\u002F\u002Fgithub.com\u002FReihantt6\u002Fsns-myagent\u002Fblob\u002Fmain\u002Fagent\u002Fskills\u002Fyoutube-thumbnail-design\u002FSKILL.md",[],[],{"skillNo":65,"name":66,"nameZh":6,"description":67,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":68,"categories":69,"keywords":70,"publishedAt":19},"01M77XD2541C8HXJ6RHYZP4NGJ","youtube-short-maker","Make YouTube Shorts that hold attention with Pexo — vertical 9:16, fast-paced, hook in the first 3 seconds. Describe your topic and Pexo writes the script, generates the shots, picks the models, and assembles a finished Short with music and captions. Use for YouTube Shorts: \"youtube short\", \"make a youtube short\", \"shorts video\", \"short-form video\". NOT for long-form or landscape video.","https:\u002F\u002Fgithub.com\u002FReihantt6\u002Fsns-myagent\u002Fblob\u002Fmain\u002Fagent\u002Fskills\u002Fyoutube-short-maker\u002FSKILL.md",[],[],{"skillNo":72,"name":73,"nameZh":6,"description":74,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":75,"categories":76,"keywords":77,"publishedAt":19},"01M77XCXKVSYK7KTZ3PQBVVGFD","xcode-project-setup","Safely modifies Xcode projects (.pbxproj) to add Swift Packages and link files. Use this skill whenever an iOS project needs dependencies installed (e.g. Firebase, Alamofire).","https:\u002F\u002Fgithub.com\u002FReihantt6\u002Fsns-myagent\u002Fblob\u002Fmain\u002Fagent\u002Fskills\u002Fxcode-project-setup\u002FSKILL.md",[],[],{"skillNo":79,"name":80,"nameZh":6,"description":81,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":82,"categories":83,"keywords":84,"publishedAt":19},"01M77XCR1DV8ZQK2NHWKVY4EWX","x402","Set up Browser Use Cloud payments with x402 — pay per request from a crypto wallet (USDC on Base mainnet), no signup or API key. Two setups it works out up front — \"just use it\" (set up a wallet so you or Claude Code can run cloud browser tasks paid from the wallet — Claude writes and runs throwaway scripts, nothing touches your codebase) or \"build it in\" (install the SDK and write the key + code into your project). Walks through wallet setup, funding, .env, and a ~$1 test run. Use when the user asks about x402, pay-per-use, USDC payments, or wants Browser Use Cloud without an API key. For the free-tier signup (reverse-CAPTCHA → API key), use `browser-use cloud signup` or the `cloud` skill instead.","https:\u002F\u002Fgithub.com\u002FReihantt6\u002Fsns-myagent\u002Fblob\u002Fmain\u002Fagent\u002Fskills\u002Fx402\u002FSKILL.md",[],[],{"skillNo":86,"name":87,"nameZh":6,"description":88,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":89,"categories":90,"keywords":91,"publishedAt":19},"01M77XCMD3R3ZBZQQSW6E0793B","x-twitter-scraper","Build GitHub Copilot workflows with Xquik X API SDKs, REST endpoints, hosted Apify Actor runs, MCP tools, TweetClaw OpenClaw plugin installs, signed webhooks, tweet search, user lookup, follower exports, media actions, and agent automation.","https:\u002F\u002Fgithub.com\u002FReihantt6\u002Fsns-myagent\u002Fblob\u002Fmain\u002Fagent\u002Fskills\u002Fx-twitter-scraper\u002FSKILL.md",[],[]]