digital-being-skill
v1.0.0
Published
A Universal Browser VM Sandbox Skill for OS Agents. Execute complex Web DOM operations and bypass anti-bot mechanisms.
Maintainers
Readme
digital-being-skill
A universal, standard Skill package for OS Agents (like OpenClaw, Computer Use, etc.). It provides a full Browser VM Sandbox powered by Playwright, allowing your OS Agent to delegate complex web scraping, DOM manipulation, and JS execution tasks to a secure sandbox, completely bypassing the limitations of Vision-Language Models (VLMs) on dynamic websites.
Installation
npm install digital-being-skillNote: You must have playwright installed in your project.
Usage
import { DigitalBeingSkill } from 'digital-being-skill';
const dbSkill = new DigitalBeingSkill();
// The payload generated by the Agent's LLM Brain
const payload = {
instruction: "Extract the top 5 trending repositories",
url: "https://github.com/trending",
code: `
const repos = Array.from(document.querySelectorAll('article.Box-row')).slice(0, 5);
return repos.map(repo => ({
title: repo.querySelector('h2 a')?.innerText.trim().replace(/\n/g, ''),
link: repo.querySelector('h2 a')?.href
}));
`
};
// Execute in the sandbox
const result = await dbSkill.execute(payload);
console.log(result.data);
await dbSkill.close();Co-Authors
Created collaboratively by Digital Being and its Commander.
