npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2025 – Pkg Stats / Ryan Hefner

@openclueo/sdk

v2.0.1

Published

Official JavaScript SDK for Clueo AI Personality API with Big Five model integration

Readme

🚀 Clueo JavaScript SDK

Inject AI personalities using the Big Five model in just 3 lines of code.

Quick Start

// 1. Import SDK
const clueo = new Clueo('ck_your_api_key_here')

// 2. Inject personality into prompt
const result = await clueo.inject('How do I scale my startup?', {
  openness: 8,        // Creative, innovative (1-10)
  conscientiousness: 7, // Organized, disciplined (1-10)
  extraversion: 6,    // Outgoing, social (1-10)
  agreeableness: 5,   // Cooperative, trusting (1-10)
  neuroticism: 3      // Calm, stable (1-10)
})

// 3. Use result
console.log(result.injected_prompt)

Installation

NPM

npm install @openclueo/sdk
// ES6 modules
import Clueo from '@openclueo/sdk'

// CommonJS
const Clueo = require('@openclueo/sdk')

Browser (CDN)

<script src="https://unpkg.com/@openclueo/sdk@latest/clueo.js"></script>
<script>
  const clueo = new Clueo('ck_your_api_key_here')
</script>

API Examples

Personality Injection (Big Five Model)

const result = await clueo.inject('How should I approach this problem?', {
  openness: 9,        // Highly creative and innovative
  conscientiousness: 6, // Moderately organized
  extraversion: 4,    // Introverted, thoughtful
  agreeableness: 7,   // Cooperative and helpful
  neuroticism: 2      // Very calm and stable
})
console.log(result.injected_prompt)

Conversation Simulation

const response = await clueo.simulate('What should I focus on next?', {
  openness: 8,
  conscientiousness: 9,
  extraversion: 7,
  agreeableness: 6,
  neuroticism: 3
})
console.log(response.response)

Bring Your Own OpenAI Key

const result = await clueo.inject('Tell me about startups', {
  openness: 8,
  conscientiousness: 7,
  extraversion: 6,
  agreeableness: 5,
  neuroticism: 3,
  openaiKey: 'sk_your_openai_key_here' // Optional: use your own key
})

Legacy Transform (Still Supported)

const result = await clueo.transform('Hey!', 'Professional')
console.log(result.transformed)

Raw API (No SDK)

cURL

curl -X POST https://backend.clueoai.com/api/enhanced/inject \
  -H "x-api-key: ck_your_key" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "How do I scale my startup?",
    "personalityConfig": {
      "openness": 8,
      "conscientiousness": 7,
      "extraversion": 6,
      "agreeableness": 5,
      "neuroticism": 3
    }
  }'

JavaScript (Fetch)

const response = await fetch('https://backend.clueoai.com/api/enhanced/inject', {
  method: 'POST',
  headers: {
    'x-api-key': 'ck_your_key',
    'Content-Type': 'application/json'
  },
  body: JSON.stringify({
    prompt: 'How do I scale my startup?',
    personalityConfig: {
      openness: 8,
      conscientiousness: 7,
      extraversion: 6,
      agreeableness: 5,
      neuroticism: 3
    }
  })
})
const result = await response.json()
console.log(result.data.injected_prompt)

Python

import requests

response = requests.post('https://backend.clueoai.com/api/enhanced/inject',
  headers={'x-api-key': 'ck_your_key'},
  json={
    'prompt': 'How do I scale my startup?',
    'personalityConfig': {
      'openness': 8,
      'conscientiousness': 7,
      'extraversion': 6,
      'agreeableness': 5,
      'neuroticism': 3
    }
  }
)
print(response.json()['data']['injected_prompt'])

Get Your API Key

  1. Sign up at api.clueoai.com
  2. Copy your ck_ API key from the dashboard
  3. Start transforming!

Free tier: 1,000 requests/month
No credit card required

Support


Made with ❤️ by the Clueo team