Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

unagent

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

unagent

Unified agent primitives for AI coding agents

latest
Source
npmnpm
Version
0.0.8
Version published
Maintainers
1
Created
Source

unagent

npm version npm downloads

Unified primitives for AI coding agents.

  • Detect 40+ AI coding agents by env vars or config
  • Discover and parse markdown-based skill files
  • Install/uninstall skills from local paths or git sources
  • Track installed skills with a lockfile and hashes

Install

npm install unagent

Usage

import { detectCurrentAgent, discoverSkills, installSkill } from 'unagent'

// Detect which agent is running
const agent = detectCurrentAgent()
if (agent) {
  console.log(`Running in ${agent.config.name}`)
}

// Discover skills
const skills = discoverSkills('~/.claude/skills', { recursive: true })

// Install skills (local or git sources)
await installSkill({ source: 'unjs/unagent' })
await installSkill({ source: './local/skills', mode: 'symlink' })

Documentation

License

MIT

Keywords

unjs

FAQs

Package last updated on 10 Feb 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts