# @skimly/sdk

```ts
import { fromEnv } from '@skimly/sdk'
const skimly = fromEnv()

const { blob_id } = await skimly.createBlob('very long text...')
const res = await skimly.chat({
  provider: 'openai',
  model: 'gpt-4.1-mini',
  messages: [
    { role: 'system', content: 'You are terse.' },
    { role: 'user', content: [
      { type: 'text', text: 'Summarize the attachment.' },
      { type: 'pointer', blob_id }
    ]}
  ]
})
console.log(res.skimly)
```
