.agent/skills/access-control/SKILL.md
Role-based access, allowlists, Telegram pairing security. Use when securing Julia's communication channels or implementing authorization for multi-user scenarios.
npx skillsauth add abzhaw/juliaz_agents access-controlInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
// Only allow messages from known Telegram chat IDs
const ALLOWED_CHAT_IDS = new Set([
process.env.RAPHAEL_CHAT_ID,
]);
function isAuthorized(chatId: string): boolean {
return ALLOWED_CHAT_IDS.has(chatId);
}
// In message handler
if (!isAuthorized(msg.chatId)) {
console.warn(`Unauthorized access attempt from chatId: ${msg.chatId}`);
return; // silently ignore
}
function requireAuth(req: Request, res: Response, next: NextFunction) {
const token = req.headers.authorization?.replace('Bearer ', '');
if (!token || token !== process.env.API_SECRET) {
return res.status(401).json({ error: 'Unauthorized' });
}
next();
}
openclaw onboard if device.json is corrupted// Bridge is localhost-only — verify origin in production
const TRUSTED_ORIGINS = ['http://localhost:3002', 'http://localhost:4000'];
app.use((req, res, next) => {
const origin = req.headers.origin ?? req.headers.referer ?? '';
if (!TRUSTED_ORIGINS.some(o => origin.startsWith(o))) {
return res.status(403).json({ error: 'Forbidden' });
}
next();
});
development
Fortschrittsverfolgung der Masterarbeit. Wortanzahl pro Kapitel, Fertigstellungsgrad, fehlende Elemente, Deadlines. Haelt den Ueberblick.
development
Kapitelarchitektur und Gliederung der Masterarbeit. Verwaltet die Struktur, schlaegt vor wo Inhalte hingehoeren, validiert den logischen Fluss zwischen Kapiteln.
tools
Konvertiert Protokolleinträge und Session-Logs in thesis-fähiges deutsches Narrativ. Transformiert Entwicklungsdokumentation in akademische Prosa.
research
Sucht und analysiert akademische Literatur. Findet relevante Papers, erstellt strukturierte Zusammenfassungen. Zitiert NIEMALS — schlaegt nur vor.